You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Juan Yu (JIRA)" <ji...@apache.org> on 2015/02/09 18:05:35 UTC

[jira] [Created] (HIVE-9620) Cannot retrieve column statistics using HMS API if column name contains uppercase characters

Juan Yu created HIVE-9620:
-----------------------------

             Summary: Cannot retrieve column statistics using HMS API if column name contains uppercase characters 
                 Key: HIVE-9620
                 URL: https://issues.apache.org/jira/browse/HIVE-9620
             Project: Hive
          Issue Type: Bug
          Components: Metastore, Statistics
    Affects Versions: 0.13.1
            Reporter: Juan Yu


The issue only happens on avro table,
{code}
CREATE TABLE t2_avro (
columnNumber1 int,
columnNumber2 string )
PARTITIONED BY (p1 string)
ROW FORMAT SERDE 
  'org.apache.hadoop.hive.serde2.avro.AvroSerDe' 
STORED AS INPUTFORMAT 
  'org.apache.hadoop.hive.ql.io.avro.AvroContainerInputFormat' 
OUTPUTFORMAT 
  'org.apache.hadoop.hive.ql.io.avro.AvroContainerOutputFormat'
TBLPROPERTIES(
'avro.schema.literal'='{
"namespace": "testing.hive.avro.serde",
"name": "test",
"type": "record",
"fields": [
{ "name":"columnNumber1", "type":"int" },
{ "name":"columnNumber2", "type":"string" }
]}');
{code}
I don't have latest hive so I am not sure if this is already fixed in trunk.



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