blob: 23a43b55a2f1d61b97c42903a57f5e0efd43bb75 [file] [log] [blame]
====
---- QUERY
create table simple (id int primary key, name string, valf float, vali bigint)
partition by range (partition values < 10, partition 10 <= values < 30,
partition 30 <= values) stored as kudu tblproperties('kudu.num_tablet_replicas' = '1')
---- RESULTS
'Table has been created.'
====
---- QUERY
show table stats simple
---- RESULTS
-1,'','8000000A',regex:.*?:\d+,1
-1,'8000000A','8000001E',regex:.*?:\d+,1
-1,'8000001E','',regex:.*?:\d+,1
---- TYPES
INT,STRING,STRING,STRING,INT
---- LABELS
# Rows,Start Key,Stop Key,Leader Replica,# Replicas
====
---- QUERY
# IMPALA-3373: Computing stats on a Kudu table lead to duplicate columns shown for the
# table.
compute stats simple;
describe simple;
---- RESULTS
'id','int','','true','false','','AUTO_ENCODING','DEFAULT_COMPRESSION','0'
'name','string','','false','true','','AUTO_ENCODING','DEFAULT_COMPRESSION','0'
'valf','float','','false','true','','AUTO_ENCODING','DEFAULT_COMPRESSION','0'
'vali','bigint','','false','true','','AUTO_ENCODING','DEFAULT_COMPRESSION','0'
---- TYPES
STRING,STRING,STRING,STRING,STRING,STRING,STRING,STRING,STRING
====