Anurag Mantripragada created IMPALA-9256:
--------------------------------------------

             Summary: Refactor constraint information into a separate class.
                 Key: IMPALA-9256
                 URL: https://issues.apache.org/jira/browse/IMPALA-9256
             Project: IMPALA
          Issue Type: Sub-task
          Components: Frontend
            Reporter: Anurag Mantripragada
            Assignee: Anurag Mantripragada


We recently added support for primary keys and foreign keys information for 
tables. However, it is cleaner to have an SQLConstraint class as a container 
for these constraints just like hive does here: 
[https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/constraint/Constraints.java.|https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/constraint/Constraints.java]

This can be extended to support other kinds of constraints in the future.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to