hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesus Camacho Rodriguez (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-17054) Expose SQL database constraints to Calcite
Date Thu, 06 Jul 2017 14:59:00 GMT
Jesus Camacho Rodriguez created HIVE-17054:
----------------------------------------------

             Summary: Expose SQL database constraints to Calcite
                 Key: HIVE-17054
                 URL: https://issues.apache.org/jira/browse/HIVE-17054
             Project: Hive
          Issue Type: Improvement
          Components: Logical Optimizer
    Affects Versions: 3.0.0
            Reporter: Jesus Camacho Rodriguez
            Assignee: Jesus Camacho Rodriguez


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message