Alan Gates created HIVE-15412:
---------------------------------

             Summary: Partition columns should be allowed in primary keys
                 Key: HIVE-15412
                 URL: https://issues.apache.org/jira/browse/HIVE-15412
             Project: Hive
          Issue Type: Bug
          Components: Metastore
    Affects Versions: 2.1.1
            Reporter: Alan Gates


If a primary key includes a partition column the attempt to create the primary 
key returns an error saying that the partition column cannot be found.  It 
appears that the logic in the ObjectStore is checking against the list of valid 
columns in the storage descriptor, which doesn't include the partition columns. 
 Yet it is perfectly reasonable for a user to want to include a partition 
column in a primary key.  And we want to encourage this behavior because it 
will make query optimization easier.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to