You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2016/07/22 01:49:20 UTC

[jira] [Commented] (KUDU-1271) Column ordering constraint in Kudu

    [ https://issues.apache.org/jira/browse/KUDU-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15388746#comment-15388746 ] 

Todd Lipcon commented on KUDU-1271:
-----------------------------------

Started hacking on this here: http://gerrit.cloudera.org:8080/3722
It's a fairly invasive project though (wire protocol changes, changes to both clients, changes to predicate pushdown, partitioning, and more) so not sure how quickly we'll be able to push it over the finish line.

> Column ordering constraint in Kudu
> ----------------------------------
>
>                 Key: KUDU-1271
>                 URL: https://issues.apache.org/jira/browse/KUDU-1271
>             Project: Kudu
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.5.0
>         Environment: Cloudera CDH 5.4.x
>            Reporter: Abhi Basu
>
> I get this error when I am attempting to create a Kudu table as a select from an existing Impala/Hive table. The last column of the table is rowid (int) that is going to be used as primary key for this table. 
> Error: llegalArgumentException: Got out-of-order primary key column: Column name: rowid, type:
> SQL example:
> CREATE TABLE newtable_kudu
> TBLPROPERTIES(
>  'storage_handler' = 'com.cloudera.kudu.hive.KuduStorageHandler',
>   'kudu.table_name' = 'newtable_kudu',
>   'kudu.master_addresses' = 'hostname:7051',
>   'kudu.key_columns' = 'rowid'
>  ) AS SELECT * FROM oldtable_impala;



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