Skip to content

Fix some bugs in AlignedTVListIterator#16318

Merged
JackieTien97 merged 4 commits intomasterfrom
fixBugsInAlignedTVListIterator
Sep 2, 2025
Merged

Fix some bugs in AlignedTVListIterator#16318
JackieTien97 merged 4 commits intomasterfrom
fixBugsInAlignedTVListIterator

Conversation

@shuwenwei
Copy link
Member

Description

Fix some bugs in AlignedTVListIterator. In the tree model, some all-null rows may be found unexpectedly.

IoTDB> insert into root.test.d1(time,s1,s2) aligned values (1,1,1)
Msg: The statement is executed successfully.
IoTDB> insert into root.test.d1(time,s1) aligned values (2,2)
Msg: The statement is executed successfully.
IoTDB> insert into root.test.d1(time,s2) aligned values (3,3)
Msg: The statement is executed successfully.
IoTDB> flush
Msg: The statement is executed successfully.
IoTDB> insert into root.test.d1(time,s1,s2) aligned values (1,1,1)
Msg: The statement is executed successfully.
IoTDB> insert into root.test.d1(time,s1) aligned values (2,2)
Msg: The statement is executed successfully.
IoTDB> insert into root.test.d1(time,s2) aligned values (3,3)
Msg: The statement is executed successfully.
IoTDB> select s1 from root.test.d1
+-----------------------------+---------------+
|                         Time|root.test.d1.s1|
+-----------------------------+---------------+
|1970-01-01T08:00:00.001+08:00|            1.0|
|1970-01-01T08:00:00.002+08:00|            2.0|
|1970-01-01T08:00:00.003+08:00|           null|
+-----------------------------+---------------+
Total line number = 3
It costs 0.225s

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 1, 2025

@codecov
Copy link

codecov bot commented Sep 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 38.85%. Comparing base (aaf5139) to head (0095c09).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #16318      +/-   ##
============================================
- Coverage     38.86%   38.85%   -0.01%     
  Complexity      198      198              
============================================
  Files          4910     4910              
  Lines        322518   322524       +6     
  Branches      40925    40926       +1     
============================================
- Hits         125335   125330       -5     
- Misses       197183   197194      +11     

☔ 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.

@JackieTien97 JackieTien97 merged commit 01d88b7 into master Sep 2, 2025
27 of 30 checks passed
@JackieTien97 JackieTien97 deleted the fixBugsInAlignedTVListIterator branch September 2, 2025 01:32
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.

2 participants

Comments