You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by "olivrlee (via GitHub)" <gi...@apache.org> on 2024/03/07 02:14:55 UTC
[PR] [CALCITE-6301] Extend ‘Must-filter’ columns to support a conditional … [calcite]
olivrlee opened a new pull request, #3716:
URL: https://github.com/apache/calcite/pull/3716
…bypass list
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@calcite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CALCITE-6301] Extend ‘Must-filter’ columns to support a conditional … [calcite]
Posted by "olivrlee (via GitHub)" <gi...@apache.org>.
olivrlee commented on code in PR #3716:
URL: https://github.com/apache/calcite/pull/3716#discussion_r1517006970
##########
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java:
##########
@@ -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<>();
Review Comment:
`qualifieds` are `qualifiedMustFilterFields` , yeah that could make it more clear
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@calcite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CALCITE-6301] Extend ‘Must-filter’ columns to support a conditional … [calcite]
Posted by "tanclary (via GitHub)" <gi...@apache.org>.
tanclary commented on code in PR #3716:
URL: https://github.com/apache/calcite/pull/3716#discussion_r1516859868
##########
core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java:
##########
@@ -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<>();
Review Comment:
is `qualifieds` == `qualifiedFields` If so you could make it `qualifiedFields` and `qualifiedBypassFields` for consistency ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@calcite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CALCITE-6301] Extend ‘Must-filter’ columns to support a conditional … [calcite]
Posted by "olivrlee (via GitHub)" <gi...@apache.org>.
olivrlee closed pull request #3716: [CALCITE-6301] Extend ‘Must-filter’ columns to support a conditional …
URL: https://github.com/apache/calcite/pull/3716
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@calcite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CALCITE-6301] Extend ‘Must-filter’ columns to support a conditional … [calcite]
Posted by "mihaibudiu (via GitHub)" <gi...@apache.org>.
mihaibudiu commented on PR #3716:
URL: https://github.com/apache/calcite/pull/3716#issuecomment-2043733950
@olivrlee can you please fix the style issues which prevent the CI from passing?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@calcite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CALCITE-6301] Extend ‘Must-filter’ columns to support a conditional … [calcite]
Posted by "olivrlee (via GitHub)" <gi...@apache.org>.
olivrlee commented on PR #3716:
URL: https://github.com/apache/calcite/pull/3716#issuecomment-2067181578
> @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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@calcite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [CALCITE-6301] Extend ‘Must-filter’ columns to support a conditional … [calcite]
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #3716:
URL: https://github.com/apache/calcite/pull/3716#issuecomment-1982278642
## [](https://sonarcloud.io/dashboard?id=apache_calcite&pullRequest=3716) **Quality Gate passed**
Issues
 [7 New issues](https://sonarcloud.io/project/issues?id=apache_calcite&pullRequest=3716&resolved=false&inNewCodePeriod=true)
 [0 Accepted issues](https://sonarcloud.io/component_measures?id=apache_calcite&pullRequest=3716&metric=new_accepted_issues&view=list)
Measures
 [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_calcite&pullRequest=3716&resolved=false&inNewCodePeriod=true)
 [95.5% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_calcite&pullRequest=3716&metric=new_coverage&view=list)
 [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_calcite&pullRequest=3716&metric=new_duplicated_lines_density&view=list)
[See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_calcite&pullRequest=3716)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@calcite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org