[ https://issues.apache.org/jira/browse/HIVE-13422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuefu Zhang updated HIVE-13422: ------------------------------- Description: For the repro {code} drop table sample_test; CREATE TABLE IF NOT EXISTS sample_test( key decimal(38,0),b int ) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' STORED AS TEXTFILE; load data local inpath '/home/hive/analyse.txt' into table sample_test; ANALYZE TABLE sample_test COMPUTE STATISTICS FOR COLUMNS; {code} Sample data {code} 20234567894567498250824983000004 0 50320807548878498250695083000004 0 40120807548878498250687183000004 0 20120807548878498250667783000004 0 40120807548878496250656783000004 0 (code} was: For the repro drop table sample_test; CREATE TABLE IF NOT EXISTS sample_test( key decimal(38,0),b int ) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' STORED AS TEXTFILE; load data local inpath '/home/hive/analyse.txt' into table sample_test; ANALYZE TABLE sample_test COMPUTE STATISTICS FOR COLUMNS; Sample data 20234567894567498250824983000004 0 50320807548878498250695083000004 0 40120807548878498250687183000004 0 20120807548878498250667783000004 0 40120807548878496250656783000004 0 > Analyse command not working for column having datatype as decimal(38,0) > ----------------------------------------------------------------------- > > Key: HIVE-13422 > URL: https://issues.apache.org/jira/browse/HIVE-13422 > Project: Hive > Issue Type: Bug > Components: Hive, Statistics > Affects Versions: 1.1.0 > Reporter: ashim sinha > > For the repro > {code} > drop table sample_test; > CREATE TABLE IF NOT EXISTS sample_test( key decimal(38,0),b int ) ROW FORMAT > DELIMITED FIELDS TERMINATED BY ',' STORED AS TEXTFILE; > load data local inpath '/home/hive/analyse.txt' into table sample_test; > ANALYZE TABLE sample_test COMPUTE STATISTICS FOR COLUMNS; > {code} > Sample data > {code} > 20234567894567498250824983000004 0 > 50320807548878498250695083000004 0 > 40120807548878498250687183000004 0 > 20120807548878498250667783000004 0 > 40120807548878496250656783000004 0 > (code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)