Skip to content

Fix tag empty error and disorder timestamp. #489

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

ColinLeeo
Copy link
Contributor

No description provided.

@ColinLeeo ColinLeeo changed the title Fix tag empty error. Fix tag empty error and disorder timestamp. May 12, 2025
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 90.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 65.48%. Comparing base (217cc3c) to head (622528e).

Files with missing lines Patch % Lines
...p/src/reader/block/single_device_tsblock_reader.cc 83.33% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #489   +/-   ##
========================================
  Coverage    65.48%   65.48%           
========================================
  Files          565      565           
  Lines        33040    33047    +7     
  Branches      4603     4606    +3     
========================================
+ Hits         21636    21642    +6     
  Misses       10762    10762           
- Partials       642      643    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment on lines 201 to 213
for (int32_t pos : id_column_context.pos_in_result_) {
common::String device_id(
device_query_task_->get_device_id()->get_segments().at(
id_column_context.pos_in_device_id_));
common::String device_id;
if (device_query_task_->get_device_id()->segment_num() <=
id_column_context.pos_in_device_id_) {
device_id = common::String("");
} else {
device_id = common::String(
device_query_task_->get_device_id()->get_segments().at(
id_column_context.pos_in_device_id_));
}
if (RET_FAIL(col_appenders_[pos + 1]->fill(
(char*)&device_id, sizeof(device_id),
current_block_->get_row_count()))) {
Copy link
Contributor

Choose a reason for hiding this comment

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

We should distinguish null from empty string.
("table1", null, "tag1") is different from ("table1", "", "tag1")

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