Repository navigation
Colin support read tree - #643
Merged
Merged
Conversation
ColinLeeo
force-pushed
the
colin_support_read_tree
branch
2 times, most recently
from
November 20, 2025 02:34
11b9469 to
0df919d
Compare
ColinLeeo
force-pushed
the
colin_support_read_tree
branch
from
November 20, 2025 02:40
0df919d to
7ef45b5
Compare
hongzhi-gao
reviewed
Nov 21, 2025
| int column_pos_in_id = | ||
| table_schema->find_id_column_order(id_column) + 1; | ||
| int column_pos_in_id = table_schema->find_id_column_order(id_column) + | ||
| (!table_schema->is_virtual_table()); |
Contributor
There was a problem hiding this comment.
int column_pos_in_id = table_schema->find_id_column_order(id_column) +
(table_schema->is_virtual_table() ? 0 : 1);
hongzhi-gao
approved these changes
Nov 21, 2025
jt2594838
reviewed
Nov 24, 2025
ColinLeeo
force-pushed
the
colin_support_read_tree
branch
from
November 30, 2025 04:08
a4d33a0 to
c5d1410
Compare
jt2594838
approved these changes
Dec 1, 2025
| return !(*this == other); | ||
| } | ||
|
|
||
| void should_split_table_name() override { init_prefix_segments(); } |
Contributor
There was a problem hiding this comment.
should_split_table_name -> split_table_name
Comment on lines
+125
to
+126
| auto device_names = this->get_all_device_ids(); | ||
| std::vector<std::shared_ptr<IDeviceID>> device_ids; |
Contributor
There was a problem hiding this comment.
device_names -> device_ids
device_ids -> satisfied_device_ids
| auto device_names = this->get_all_device_ids(); | ||
| std::vector<std::shared_ptr<IDeviceID>> device_ids; | ||
| std::unordered_set<std::string> measurement_names_set_to_query; | ||
| size_t max_len = 0; |
Contributor
There was a problem hiding this comment.
max_len -> device_max_len
|
|
||
| auto* table_result_set = (storage::TableResultSet*)result; | ||
| bool has_next = false; | ||
| int num = table_result_set->get_metadata()->get_column_count(); |
| bool has_next = false; | ||
| int num = table_result_set->get_metadata()->get_column_count(); | ||
| ASSERT_EQ(num, 8); | ||
| int cnt = 0; |
ColinLeeo
added a commit
that referenced
this pull request
Dec 23, 2025
ColinLeeo
added a commit
that referenced
this pull request
Dec 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
create timeseries with device_id in device_ids and measurement.
device_ids = [
"root.db1.t1",
"root.db2.t1",
"root.db3.t2.t3",
"root.db3.t3",
"device",
"device.ln",
"device2.ln1.tmp",
"device3.ln2.tmp.v1.v2",
"device3.ln2.tmp.v1.v3",
]
measurement_ids1 = ["temperature", "hudi", "level"]
measurement_ids2 = ["level", "vol"]
call to_dataframe() will get:
