You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by "xiedeyantu (via GitHub)" <gi...@apache.org> on 2026/03/04 14:44:42 UTC
[PR] [CALCITE-7429] Query with MINUS fails with "Unable to implement EnumerableMinus(all=[false])" [calcite]
xiedeyantu opened a new pull request, #4820:
URL: https://github.com/apache/calcite/pull/4820
See [CALCITE-7429](https://issues.apache.org/jira/browse/CALCITE-7429)
--
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-7429] Query with MINUS fails with "Unable to implement EnumerableMinus(all=[false])" [calcite]
Posted by "xiedeyantu (via GitHub)" <gi...@apache.org>.
xiedeyantu merged PR #4820:
URL: https://github.com/apache/calcite/pull/4820
--
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-7429] Query with MINUS fails with "Unable to implement EnumerableMinus(all=[false])" [calcite]
Posted by "sonarqubecloud[bot] (via GitHub)" <gi...@apache.org>.
sonarqubecloud[bot] commented on PR #4820:
URL: https://github.com/apache/calcite/pull/4820#issuecomment-3998170423
## [](https://sonarcloud.io/dashboard?id=apache_calcite&pullRequest=4820) **Quality Gate passed**
Issues
 [0 New issues](https://sonarcloud.io/project/issues?id=apache_calcite&pullRequest=4820&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_calcite&pullRequest=4820&issueStatuses=ACCEPTED)
Measures
 [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_calcite&pullRequest=4820&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_calcite&pullRequest=4820&metric=new_coverage&view=list)
 [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_calcite&pullRequest=4820&metric=new_duplicated_lines_density&view=list)
[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=apache_calcite&pullRequest=4820)
--
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-7429] Query with MINUS fails with "Unable to implement EnumerableMinus(all=[false])" [calcite]
Posted by "xiedeyantu (via GitHub)" <gi...@apache.org>.
xiedeyantu commented on PR #4820:
URL: https://github.com/apache/calcite/pull/4820#issuecomment-4002163729
If there are no other comments, I will merge it in 24-48 hours.
--
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-7429] Query with MINUS fails with "Unable to implement EnumerableMinus(all=[false])" [calcite]
Posted by "xiedeyantu (via GitHub)" <gi...@apache.org>.
xiedeyantu commented on PR #4820:
URL: https://github.com/apache/calcite/pull/4820#issuecomment-4000807821
> Can you check whether UNION and EXCEPT need this as well?
I checked UNION, and it doesn't have this problem. EXCEPT in calcite corresponds to MINUS, which is exactly the issue we need to address.
--
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-7429] Query with MINUS fails with "Unable to implement EnumerableMinus(all=[false])" [calcite]
Posted by "xiedeyantu (via GitHub)" <gi...@apache.org>.
xiedeyantu commented on code in PR #4820:
URL: https://github.com/apache/calcite/pull/4820#discussion_r2884215806
##########
core/src/test/resources/sql/set-op.iq:
##########
@@ -295,4 +295,35 @@ EnumerableCalc(expr#0=[{inputs}], expr#1=[3], proj#0..1=[{exprs}])
EnumerableValues(tuples=[[{ 30, 3 }, { 30, 3 }]])
!plan
+# [CALCITE-7429] Query with MINUS fails with "Unable to implement EnumerableMinus(all=[false])"
Review Comment:
I have checked with [pgsql](https://onecompiler.com/postgresql/44fc5x6uj).
--
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-7429] Query with MINUS fails with "Unable to implement EnumerableMinus(all=[false])" [calcite]
Posted by "xiedeyantu (via GitHub)" <gi...@apache.org>.
xiedeyantu commented on PR #4820:
URL: https://github.com/apache/calcite/pull/4820#issuecomment-3998014935
In this PR, I used the minimum reproducible case. This PR leveraged a larger model and provided an explanation. I don't fully understand the execution-level details, but I think the approach is correct.
--
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