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

[CALCITE-6301] Extend ‘Must-filter’ columns to support a conditional bypass list #3716

Closed
wants to merge 0 commits into from

Conversation

olivrlee
Copy link
Contributor

@olivrlee olivrlee commented Mar 7, 2024

…bypass list

Copy link

sonarcloud bot commented Mar 7, 2024

@olivrlee olivrlee marked this pull request as ready for review March 7, 2024 18:39
Copy link
Contributor

@tanclary tanclary left a comment

Choose a reason for hiding this comment

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

Aside from the style checks I think this looks really solid

@@ -3894,32 +3894,37 @@ protected void validateSelect(

// Deduce which columns must be filtered.
ns.mustFilterFields = ImmutableBitSet.of();
ns.mustFilterBypassFields = ImmutableBitSet.of();
if (from != null) {
final Set<SqlQualified> qualifieds = new LinkedHashSet<>();
Copy link
Contributor

Choose a reason for hiding this comment

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

is qualifieds == qualifiedFields If so you could make it qualifiedFields and qualifiedBypassFields for consistency ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

qualifieds are qualifiedMustFilterFields , yeah that could make it more clear

@mihaibudiu
Copy link
Contributor

@olivrlee can you please fix the style issues which prevent the CI from passing?

@olivrlee
Copy link
Contributor Author

@olivrlee can you please fix the style issues which prevent the CI from passing?

Sorry, I haven't had time to return to this.
There is one failing test case that I added in my last commit that I need to address before this will be ready for review again.

@olivrlee olivrlee closed this Sep 27, 2024
@olivrlee olivrlee changed the title [CALCITE-6301] Extend ‘Must-filter’ columns to support a conditional … [CALCITE-6301] Extend ‘Must-filter’ columns to support a conditional bypass list Sep 27, 2024
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.

3 participants