Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
In Calcite, there are many times to determine whether a relational expression returns 0 rows through maxRowCount.
But some places use `maxRowCount<=1D` while others use `maxRowCount ==0D`.
This PR mainly aims to add `@Nullable Boolean RelMetadataQuery.isEmpty(RelNode)` to unify this behavior.
Attachments
Issue Links
- links to