Skip to content

Enable show queries can be executed when the available memory for Operators is insufficient#18052

Merged
JackieTien97 merged 5 commits into
masterfrom
showQ
Jun 30, 2026
Merged

Enable show queries can be executed when the available memory for Operators is insufficient#18052
JackieTien97 merged 5 commits into
masterfrom
showQ

Conversation

@Wei-hao-Li

Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: Weihao Li <18110526956@163.com>
@codecov

codecov Bot commented Jun 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 73.46939% with 26 lines in your changes missing coverage. Please review.
✅ Project coverage is 41.51%. Comparing base (fcd52d7) to head (1e10da2).
⚠️ Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
...ueryengine/plan/planner/LocalExecutionPlanner.java 63.63% 12 Missing ⚠️
.../memory/NotThreadSafeMemoryReservationManager.java 83.72% 7 Missing ⚠️
...ne/execution/fragment/FragmentInstanceContext.java 0.00% 2 Missing ⚠️
...ueryengine/execution/operator/OperatorContext.java 0.00% 2 Missing ⚠️
...ner/memory/ThreadSafeMemoryReservationManager.java 0.00% 2 Missing ⚠️
.../planner/memory/FakedMemoryReservationManager.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #18052      +/-   ##
============================================
+ Coverage     41.40%   41.51%   +0.11%     
  Complexity      318      318              
============================================
  Files          5286     5287       +1     
  Lines        369547   370799    +1252     
  Branches      47815    47995     +180     
============================================
+ Hits         153008   153941     +933     
- Misses       216539   216858     +319     

☔ View full report in Codecov by Harness.
📢 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.

Signed-off-by: Weihao Li <18110526956@163.com>
Signed-off-by: Weihao Li <18110526956@163.com>
Signed-off-by: Weihao Li <18110526956@163.com>
// reference count by CteScanReader
private final AtomicInteger count;

private long operatorsMemoryReservedBytes;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

add some comments about this field

Signed-off-by: Weihao Li <18110526956@163.com>
@sonarqubecloud

Copy link
Copy Markdown

@JackieTien97 JackieTien97 merged commit a76341d into master Jun 30, 2026
42 of 45 checks passed
@JackieTien97 JackieTien97 deleted the showQ branch June 30, 2026 06:07
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