Suzanne McIntosh created KUDU-1518:
--------------------------------------

             Summary: Kudu Website Example Needs Partitioning
                 Key: KUDU-1518
                 URL: https://issues.apache.org/jira/browse/KUDU-1518
             Project: Kudu
          Issue Type: Task
          Components: documentation
    Affects Versions: 0.9.0
         Environment: CDH 5.7, Kudu Quickstart VM
            Reporter: Suzanne McIntosh


The Kudu example shown here: http://kudu.apache.org/docs/quickstart.html  needs 
step 4 changed to the following to create partitions using Distribute By 
Range(x) (the commands as shown no longer work in cdh 5.7):

For example, this works:
create table passenger_data distribute by range(id) split rows 
((1),(2),(3),(4),(5), ... ) tblproperties(...) as select * from 
passenger_data_raw;

CREATE TABLE passenger_data
DISTRIBUTE BY RANGE(id) SPLIT ROWS((1),(2),(3),(4),(5),(6),(7),(8),(9)) 
TBLPROPERTIES(
'storage_handler' = 'com.cloudera.kudu.hive.KuduStorageHandler',
'kudu.table_name' = 'passenger_data',
'kudu.master_addresses' = '127.0.0.1',
'kudu.key_columns' = 'id'
 ) AS SELECT * FROM passenger_data_raw;




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

Reply via email to