Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support C wrapper for tsfile v4. #387

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cpp/src/common/schema.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ namespace storage {
TimeChunkWriter *time_chunk_writer_ = nullptr;
};

enum class ColumnCategory { TAG, FIELD };
enum class ColumnCategory { TAG = 0, FIELD = 1 };

class TableSchema {
public:
Expand Down
1 change: 1 addition & 0 deletions cpp/src/common/tablet.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ class Tablet {
[](const std::string &name, common::TSDataType type) {
return MeasurementSchema(name, type);
});
schema_vec_ = std::make_shared<std::vector<MeasurementSchema>>(measurement_vec);
}

Tablet(const std::string &insert_target_name,
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/cwrapper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ under the License.
]]
message("Running in cwrapper directory")
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
aux_source_directory(. CWRAPPER_SRC_LIST)
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} CWRAPPER_SRC_LIST)
add_library(cwrapper_obj OBJECT ${CWRAPPER_SRC_LIST})
Loading
Loading