Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0
-
None
Description
Hive already has support to declare multiple SQL constraints (PRIMARY KEY, FOREIGN KEY, UNIQUE, and NOT NULL). Although these constraints cannot be currently enforced on the data, they can be made available to the optimizer by using the 'RELY' keyword.
Currently, even when they are declared with the RELY keyword, they are not exposed to Calcite.
Attachments
Attachments
Issue Links
- blocks
-
HIVE-17039 Implement optimization rewritings that rely on database SQL constraints
- Resolved
- causes
-
HIVE-18482 Copy-paste error in the RelOptHiveTable
- Closed
- Is contained by
-
HIVE-17432 Enable join and aggregate materialized view rewriting
- Closed
- links to