mirror of
https://github.com/apache/impala.git
synced 2026-01-06 06:01:03 -05:00
IMPALA-1614: Compute stats fails if table name starts with number
Change-Id: Iedac1ec0207a6e7b68ff9575c7c8473bbaf394cf Reviewed-on: http://gerrit.sjc.cloudera.com:8080/5908 Reviewed-by: Juan Yu <jyu@cloudera.com> Tested-by: jenkins
This commit is contained in:
@@ -908,3 +908,23 @@ show table stats compute_stats_db.empty_partitioned
|
||||
---- TYPES
|
||||
STRING, BIGINT, BIGINT, STRING, STRING, STRING, STRING, STRING
|
||||
====
|
||||
---- QUERY
|
||||
# IMPALA-1614 Verify that COMPUTE STATS works on a table whose name starts with numbers.
|
||||
create table compute_stats_db.`123_table` (i int, 1p int) partitioned by (2j int);
|
||||
alter table compute_stats_db.`123_table` add partition (2j=1);
|
||||
====
|
||||
---- QUERY
|
||||
compute stats compute_stats_db.`123_table`
|
||||
---- RESULTS
|
||||
'Updated 1 partition(s) and 2 column(s).'
|
||||
---- TYPES
|
||||
STRING
|
||||
====
|
||||
---- QUERY
|
||||
show table stats compute_stats_db.`123_table`
|
||||
---- RESULTS
|
||||
'1',0,0,'0B','NOT CACHED','NOT CACHED','TEXT','false'
|
||||
'Total',0,0,'0B','0B','','',''
|
||||
---- TYPES
|
||||
STRING, BIGINT, BIGINT, STRING, STRING, STRING, STRING, STRING
|
||||
====
|
||||
|
||||
Reference in New Issue
Block a user