Skip to content
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

[multistage] populate queryOption down to leaf #10626

Merged
merged 1 commit into from Apr 18, 2023

Conversation

walterddr
Copy link
Contributor

@walterddr walterddr commented Apr 17, 2023

required by #10423

@codecov-commenter
Copy link

codecov-commenter commented Apr 17, 2023

Codecov Report

Merging #10626 (7b545ea) into master (c7e05a7) will increase coverage by 7.31%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master   #10626      +/-   ##
============================================
+ Coverage     27.66%   34.97%   +7.31%     
- Complexity       58      462     +404     
============================================
  Files          2090     2106      +16     
  Lines        112578   113016     +438     
  Branches      16972    17028      +56     
============================================
+ Hits          31145    39532    +8387     
+ Misses        78333    70052    -8281     
- Partials       3100     3432     +332     
Flag Coverage Δ
integration1 24.47% <0.00%> (+0.01%) ⬆️
integration2 24.02% <0.00%> (-0.10%) ⬇️
unittests2 13.88% <0.00%> (?)

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

Impacted Files Coverage Δ
...t/query/runtime/plan/ServerRequestPlanVisitor.java 0.00% <0.00%> (ø)

... and 310 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -126,8 +126,7 @@ public static ServerPlanRequestContext build(MailboxService<TransferableBlock> m
QUERY_OPTIMIZER.optimize(pinotQuery, tableConfig, schema);

// 2. set pinot query options according to requestMetadataMap
pinotQuery.setQueryOptions(
ImmutableMap.of(CommonConstants.Broker.Request.QueryOptionKey.TIMEOUT_MS, String.valueOf(timeoutMs)));
updateQueryOptions(pinotQuery, requestMetadataMap, timeoutMs, traceEnabled);
Copy link
Contributor

Choose a reason for hiding this comment

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

do we want to support stage based query options as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

stage-based query options are also added. they are merged into requestMetadataMap during dispatch.

@walterddr walterddr merged commit 44fe694 into apache:master Apr 18, 2023
14 checks passed
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.

None yet

3 participants