Skip to content

DruidQuery: Return a copy from withScanSignatureIfNeeded, as promised.#12906

Merged
gianm merged 1 commit intoapache:masterfrom
gianm:fix-sql-dq-copy
Aug 16, 2022
Merged

DruidQuery: Return a copy from withScanSignatureIfNeeded, as promised.#12906
gianm merged 1 commit intoapache:masterfrom
gianm:fix-sql-dq-copy

Conversation

@gianm
Copy link
Contributor

@gianm gianm commented Aug 16, 2022

The method wasn't following its contract, leading to pollution of the overall planner context, when really we just want to create a new context for a specific query.

The method wasn't following its contract, leading to pollution of the
overall planner context, when really we just want to create a new
context for a specific query.
@gianm gianm added the Bug label Aug 16, 2022
@gianm gianm merged commit d3015d0 into apache:master Aug 16, 2022
@gianm gianm deleted the fix-sql-dq-copy branch August 16, 2022 20:23
@abhishekagarwal87 abhishekagarwal87 added this to the 24.0.0 milestone Aug 26, 2022
gianm added a commit to gianm/druid that referenced this pull request Jul 7, 2023
Taking the work done in apache#12906 a little further:

1) Applying a similar optimization to WorkerHolder (HttpRemoteTaskRunner).
   The original patch only helped with the ZkWorker (RemoteTaskRunner).

2) Improve the ZkWorker version somewhat by avoiding multiple iterations
   through the task announcements map.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants