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

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

     [ https://issues.apache.org/jira/browse/HIVE-9620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chaoyu Tang reassigned HIVE-9620:
---------------------------------

    Assignee: Chaoyu Tang

> 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
>            Assignee: Chaoyu Tang
>
> 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)