Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Add a method RelBuilder.empty(), a new method that returns an empty relation. The default implementation returns a Values with no rows, but schema-on-query systems such as Drill might override the empty method to read schema from an input at query time.
RelBuilder.filter(false) and RelBuilder.limit(0, 0) should simplify to empty().
Attachments
Issue Links
- relates to
-
HIVE-12839 Upgrade Hive to Calcite 1.6
- Closed