Chengxiang Li created HIVE-8706:
-----------------------------------

             Summary: Table statistic collection on counter failed due to table 
name character case.
                 Key: HIVE-8706
                 URL: https://issues.apache.org/jira/browse/HIVE-8706
             Project: Hive
          Issue Type: Bug
    Affects Versions: 0.13.1
            Reporter: Chengxiang Li


Hive ignore table name character case, transfer table name to lowercase in 
metastore, while Counters/TezCounters are character case sensitive. This 
difference may lead to table statistic collection failed, as when Hive 
collection table statistic based on Counters, and hive use table name as the 
group name of counter. 
ctas.q is an example, during the INSERT OVERWRITE TABLE sql execution, table 
name contains uppercase characters, Hive gather table statistic in 
FileSinkOperator with uppercase table name(translated  from sql), and aggregate 
table statistic in StatsTask with lowercase table name(from metastore), which 
would failed table statistic collection.



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

Reply via email to