Skip to content

Conversation

@yashmayya
Copy link
Contributor

@yashmayya yashmayya commented Jan 9, 2026

@yashmayya yashmayya added the multi-stage Related to the multi-stage query engine label Jan 9, 2026
@codecov-commenter
Copy link

codecov-commenter commented Jan 9, 2026

Codecov Report

❌ Patch coverage is 73.52941% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.27%. Comparing base (41898e0) to head (9b17bc0).

Files with missing lines Patch % Lines
...e/pinot/common/utils/config/QueryOptionsUtils.java 33.33% 3 Missing and 1 partial ⚠️
.../query/validate/InClauseSizeValidationVisitor.java 85.71% 1 Missing and 2 partials ⚠️
...requesthandler/MultiStageBrokerRequestHandler.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #17481      +/-   ##
============================================
- Coverage     63.27%   63.27%   -0.01%     
+ Complexity     1477     1476       -1     
============================================
  Files          3167     3168       +1     
  Lines        189062   189096      +34     
  Branches      28930    28936       +6     
============================================
+ Hits         119624   119642      +18     
- Misses        60153    60169      +16     
  Partials       9285     9285              
Flag Coverage Δ
custom-integration1 100.00% <ø> (ø)
integration 100.00% <ø> (ø)
integration1 100.00% <ø> (ø)
integration2 0.00% <ø> (ø)
java-11 63.23% <73.52%> (-0.01%) ⬇️
java-21 63.22% <73.52%> (+0.01%) ⬆️
temurin 63.27% <73.52%> (-0.01%) ⬇️
unittests 63.26% <73.52%> (-0.01%) ⬇️
unittests1 55.56% <78.12%> (+<0.01%) ⬆️
unittests2 34.05% <32.35%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@yashmayya yashmayya force-pushed the mse-large-in-clause-validator branch from f517642 to d9824b0 Compare January 9, 2026 14:58
@yashmayya yashmayya marked this pull request as ready for review January 9, 2026 14:58
*/
public static final String CONFIG_OF_MSE_MAX_IN_CLAUSE_ELEMENTS =
"pinot.broker.multistage.max.in.clause.elements";
public static final int DEFAULT_MSE_MAX_IN_CLAUSE_ELEMENTS = 1000;
Copy link
Contributor

Choose a reason for hiding this comment

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

This will introduce backward incompatibility for existing queries right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, that's a fair point. Do you think we should introduce this knob but keep it off by default so that users can tune it as per their workload (if and when they run into broker issues with such queries)?


/// @deprecated Use [#compile] and then [plan][CompiledQuery#planQuery(long)] the returned query instead
@VisibleForTesting
@Deprecated
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we keep it as deprecated? Seems like it is used only in test, and not for production usage

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've retained the VisibleForTesting annotation, why do we need to keep it as deprecated too? The suggestion to Use [#compile] and then [plan][CompiledQuery#planQuery(long)] the returned query instead also doesn't make much sense, because that's exactly what this method is doing, so I don't see why it needs to be deprecated when it's just a convenient shortcut.

@yashmayya yashmayya force-pushed the mse-large-in-clause-validator branch from d8ee7ef to e2ada54 Compare January 10, 2026 17:12
@yashmayya yashmayya force-pushed the mse-large-in-clause-validator branch from e2ada54 to 9b17bc0 Compare January 11, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

multi-stage Related to the multi-stage query engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants