You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by "njriasan (via GitHub)" <gi...@apache.org> on 2023/10/05 03:18:22 UTC
[PR] Update project.copy() in RelBuilder.aggregate_ to reuse the traitSet() [calcite]
njriasan opened a new pull request, #3454:
URL: https://github.com/apache/calcite/pull/3454
I use Calcite in the project I work on, and I encountered a bug where pruning columns with aggregate_ was dropping trait information when attempting to do this project.copy(). I believe this is because rather than using the cluster traitSet, this call should reuse the traitSet of the original projection (as all this projection does is prune unused columns).
I'm not sure the best way to test this, so any suggestions would be greatly appreciated. In addition if I have any misconceptions/misunderstandings about how the traitSet should be used and this should not be changed, my apologies for taking your time.
--
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] Update project.copy() in RelBuilder.aggregate_ to reuse the traitSet() [calcite]
Posted by "LakeShen (via GitHub)" <gi...@apache.org>.
LakeShen commented on PR #3454:
URL: https://github.com/apache/calcite/pull/3454#issuecomment-1748237264
@njriasan
Could you create a Calcite JIRA for this problem?
And at the same tile, the PR's title and commits should keep the same with JIRA's title.
--
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] Update project.copy() in RelBuilder.aggregate_ to reuse the traitSet() [calcite]
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #3454:
URL: https://github.com/apache/calcite/pull/3454#issuecomment-1747981432
Kudos, SonarCloud Quality Gate passed! [](https://sonarcloud.io/dashboard?id=apache_calcite&pullRequest=3454)
[](https://sonarcloud.io/project/issues?id=apache_calcite&pullRequest=3454&resolved=false&types=BUG) [](https://sonarcloud.io/project/issues?id=apache_calcite&pullRequest=3454&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_calcite&pullRequest=3454&resolved=false&types=BUG)
[](https://sonarcloud.io/project/issues?id=apache_calcite&pullRequest=3454&resolved=false&types=VULNERABILITY) [](https://sonarcloud.io/project/issues?id=apache_calcite&pullRequest=3454&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_calcite&pullRequest=3454&resolved=false&types=VULNERABILITY)
[](https://sonarcloud.io/project/security_hotspots?id=apache_calcite&pullRequest=3454&resolved=false&types=SECURITY_HOTSPOT) [](https://sonarcloud.io/project/security_hotspots?id=apache_calcite&pullRequest=3454&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_calcite&pullRequest=3454&resolved=false&types=SECURITY_HOTSPOT)
[](https://sonarcloud.io/project/issues?id=apache_calcite&pullRequest=3454&resolved=false&types=CODE_SMELL) [](https://sonarcloud.io/project/issues?id=apache_calcite&pullRequest=3454&resolved=false&types=CODE_SMELL) [3 Code Smells](https://sonarcloud.io/project/issues?id=apache_calcite&pullRequest=3454&resolved=false&types=CODE_SMELL)
[](https://sonarcloud.io/component_measures?id=apache_calcite&pullRequest=3454&metric=new_coverage&view=list) [100.0% Coverage](https://sonarcloud.io/component_measures?id=apache_calcite&pullRequest=3454&metric=new_coverage&view=list)
[](https://sonarcloud.io/component_measures?id=apache_calcite&pullRequest=3454&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_calcite&pullRequest=3454&metric=new_duplicated_lines_density&view=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] Update project.copy() in RelBuilder.aggregate_ to reuse the traitSet() [calcite]
Posted by "LakeShen (via GitHub)" <gi...@apache.org>.
LakeShen commented on PR #3454:
URL: https://github.com/apache/calcite/pull/3454#issuecomment-1748325875
More details could see developing Calcite guide:https://calcite.apache.org/develop/
--
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] Update project.copy() in RelBuilder.aggregate_ to reuse the traitSet() [calcite]
Posted by "njriasan (via GitHub)" <gi...@apache.org>.
njriasan closed pull request #3454: Update project.copy() in RelBuilder.aggregate_ to reuse the traitSet()
URL: https://github.com/apache/calcite/pull/3454
--
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] Update project.copy() in RelBuilder.aggregate_ to reuse the traitSet() [calcite]
Posted by "mihaibudiu (via GitHub)" <gi...@apache.org>.
mihaibudiu commented on PR #3454:
URL: https://github.com/apache/calcite/pull/3454#issuecomment-1747974426
A bug that is fixed by this change would help a lot.
--
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