Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-8706

Table statistic collection on counter failed due to table name character case.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.1
    • 1.0.0
    • None
    • None

    Description

      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.

      Attachments

        1. HIVE-8706.1.patch
          58 kB
          Chengxiang Li

        Activity

          People

            chengxiang li Chengxiang Li
            chengxiang li Chengxiang Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: