Skip to content

Added flags to mark whether a device has device descendants to optimize query like select xx from xxx.**#17672

Open
Caideyipi wants to merge 2 commits into
masterfrom
device-flag-query
Open

Added flags to mark whether a device has device descendants to optimize query like select xx from xxx.**#17672
Caideyipi wants to merge 2 commits into
masterfrom
device-flag-query

Conversation

@Caideyipi
Copy link
Copy Markdown
Collaborator

Description

As the title said.


This PR has:

  • been self-reviewed.
    • concurrent read
    • concurrent write
    • concurrent read and write
  • added documentation for new or modified features or behaviors.
  • added Javadocs for most classes and all non-trivial methods.
  • added or updated version, license, or notice information
  • added comments explaining the "why" and the intent of the code wherever would not be obvious
    for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold
    for code coverage.
  • added integration tests.
  • been tested in a test IoTDB cluster.

Key changed/added classes (or packages if there are too many classes) in this PR

@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

❌ Patch coverage is 93.85475% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 40.43%. Comparing base (556cd66) to head (49071fd).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
...engine/schemaregion/mtree/traverser/Traverser.java 90.56% 5 Missing ⚠️
...aregion/mtree/impl/mem/MTreeBelowSGMemoryImpl.java 95.00% 2 Missing ⚠️
...impl/pbtree/mnode/impl/CachedMeasurementMNode.java 66.66% 2 Missing ⚠️
...gion/mtree/impl/pbtree/MTreeBelowSGCachedImpl.java 97.67% 1 Missing ⚠️
...pl/pbtree/mnode/impl/CachedAboveDatabaseMNode.java 83.33% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #17672      +/-   ##
============================================
+ Coverage     40.38%   40.43%   +0.05%     
  Complexity     2574     2574              
============================================
  Files          5178     5178              
  Lines        349134   349328     +194     
  Branches      44665    44697      +32     
============================================
+ Hits         140988   141252     +264     
+ Misses       208146   208076      -70     

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

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
19.3% Duplication on New Code (required ≤ 5%)

See analysis details on SonarQube Cloud

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.

1 participant