Files
impala/testdata/workloads/functional-query/queries/QueryTest/kudu_stats.test
Alex Behm 8f2bb2f72f IMPALA-3809: Show Kudu-specific column metadata in DESCRIBE.
TODO:
- Corresponding changes to DESCRIBE EXTENDED/FORMATTED.

Testing:
A private core/hdfs run passed.

Change-Id: I83c91b540bc6d27cb4f21535fe12f3f8658c233e
Reviewed-on: http://gerrit.cloudera.org:8080/5125
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: Internal Jenkins
2016-11-22 23:06:05 +00:00

32 lines
1.1 KiB
Plaintext

====
---- QUERY
create table simple (id int primary key, name string, valf float, vali bigint)
distribute by range (partition values < 10, partition 10 <= values < 30,
partition 30 <= values) stored as kudu tblproperties('kudu.num_tablet_replicas' = '2')
---- RESULTS
====
---- QUERY
show table stats simple
---- RESULTS
-1,'','8000000A',regex:.*?:\d+,2
-1,'8000000A','8000001E',regex:.*?:\d+,2
-1,'8000001E','',regex:.*?:\d+,2
---- 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','false','','AUTO_ENCODING','DEFAULT_COMPRESSION','0'
'valf','float','','false','false','','AUTO_ENCODING','DEFAULT_COMPRESSION','0'
'vali','bigint','','false','false','','AUTO_ENCODING','DEFAULT_COMPRESSION','0'
---- TYPES
STRING,STRING,STRING,STRING,STRING,STRING,STRING,STRING,STRING
====