Skip to content

[CALCITE-6665] Add isEmpty metadata to check if a relational expressi… - #4099

Merged
ILuffZhe merged 1 commit into
apache:mainfrom
NobiGo:CALCITE-6665
Dec 23, 2024
Merged

[CALCITE-6665] Add isEmpty metadata to check if a relational expressi…#4099
ILuffZhe merged 1 commit into
apache:mainfrom
NobiGo:CALCITE-6665

Conversation

@NobiGo

@NobiGo NobiGo commented Dec 19, 2024

Copy link
Copy Markdown
Contributor

…on returns no rows

Comment thread core/src/main/java/org/apache/calcite/rel/metadata/RelMdUtil.java
Comment thread core/src/main/java/org/apache/calcite/tools/RelBuilder.java

@ILuffZhe ILuffZhe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good! Thanks for the clarify.

@ILuffZhe ILuffZhe added the LGTM-will-merge-soon Overall PR looks OK. Only minor things left. label Dec 19, 2024

@caicancai caicancai left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

no test?

@NobiGo

NobiGo commented Dec 20, 2024

Copy link
Copy Markdown
Contributor Author

no test?

@caicancai This PR is mainly intended to replace the existing inconsistent methods, and the test cases can already cover the corresponding changes, so there are no new test cases added.

@sonarqubecloud

Copy link
Copy Markdown

@ILuffZhe
ILuffZhe merged commit 575fc1a into apache:main Dec 23, 2024
@NobiGo
NobiGo deleted the CALCITE-6665 branch April 7, 2025 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LGTM-will-merge-soon Overall PR looks OK. Only minor things left.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants