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

rewrite some Tsfile C++ interface #304

Merged
merged 28 commits into from
Dec 18, 2024

Conversation

zwhzzz0821
Copy link
Contributor

No description provided.

cpp/test/CMakeLists.txt Outdated Show resolved Hide resolved
cpp/test/CMakeLists.txt Outdated Show resolved Hide resolved
cpp/src/common/tablet.h Outdated Show resolved Hide resolved
cpp/src/cwrapper/TsFile-cwrapper.cc Outdated Show resolved Hide resolved
cpp/src/file/tsfile_io_reader.cc Outdated Show resolved Hide resolved
cpp/src/file/tsfile_io_reader.cc Outdated Show resolved Hide resolved
cpp/src/reader/tsfile_reader.cc Outdated Show resolved Hide resolved
cpp/src/reader/tsfile_reader.cc Outdated Show resolved Hide resolved
cpp/src/reader/tsfile_reader.cc Outdated Show resolved Hide resolved
Comment on lines +110 to +121
if (RET_FAIL(tsfile_executor_->get_tsfile_io_reader()
->get_device_timeseries_meta_without_chunk_meta(
device_id, timeseries_indexs, pa))) {
} else {
for (auto timeseries_index : timeseries_indexs) {
MeasurementSchema ms(
timeseries_index->get_measurement_name().to_std_string(),
timeseries_index->get_data_type());
result.push_back(ms);
}
}
return E_OK;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the first if fails, E_OK is returned, which may not be correct.

cpp/test/reader/tsfile_reader_test.cc Show resolved Hide resolved
cpp/src/parser/CMakeLists.txt Outdated Show resolved Hide resolved
cpp/src/parser/PathNodesGenerator.cpp Outdated Show resolved Hide resolved
cpp/src/parser/PathParserError.h Outdated Show resolved Hide resolved
cpp/test/parser/path_name_test.cc Outdated Show resolved Hide resolved
cpp/src/common/path.h Outdated Show resolved Hide resolved
@jt2594838 jt2594838 merged commit 39c32d7 into apache:develop Dec 18, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants