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

Refactor dynamic filters #4262

Merged
merged 8 commits into from Jul 6, 2020

Conversation

sopel39
Copy link
Member

@sopel39 sopel39 commented Jun 29, 2020

No description provided.

@sopel39 sopel39 requested a review from martint June 29, 2020 16:58
@cla-bot cla-bot bot added the cla-signed label Jun 29, 2020
@sopel39 sopel39 force-pushed the ks/dyn_filters_refactors branch 2 times, most recently from 7ab4497 to 0b589c7 Compare June 29, 2020 17:21
@sopel39 sopel39 force-pushed the ks/dyn_filters_refactors branch 5 times, most recently from e695dcb to 72c0d44 Compare July 1, 2020 13:48
@@ -106,7 +106,7 @@ public void registerQuery(SqlQueryExecution sqlQueryExecution)
@VisibleForTesting
synchronized void registerQuery(QueryId queryId, Supplier<List<StageDynamicFilters>> stageDynamicFiltersSupplier, Set<SourceDescriptor> dynamicFilters)
{
dynamicFilterSuppliers.putIfAbsent(queryId, stageDynamicFiltersSupplier);
dynamicFilterSuppliers.put(queryId, stageDynamicFiltersSupplier);
Copy link
Member

Choose a reason for hiding this comment

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

Why?

Copy link
Member Author

Choose a reason for hiding this comment

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

It was inconsistent with other put for queryDynamicFilters.

@sopel39 sopel39 merged commit 9135ac5 into trinodb:master Jul 6, 2020
@sopel39 sopel39 deleted the ks/dyn_filters_refactors branch July 6, 2020 09:22
@sopel39 sopel39 mentioned this pull request Jul 6, 2020
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants