Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-3596

REFRESH table duplicates column metadata

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • Kudu_Impala
    • Kudu_Impala
    • Catalog

    Description

      This is basically the same issue as IMPALA-3373, but with the REFRESH command:

      [vd0238.halxg.cloudera.com:21000] > describe spark_write_test;
      Query: describe spark_write_test
      +-----------------+--------+---------+
      | name            | type   | comment |
      +-----------------+--------+---------+
      | l_orderkey      | bigint |         |
      | l_linenumber    | bigint |         |
      | l_partkey       | bigint |         |
      | l_suppkey       | bigint |         |
      | l_quantity      | double |         |
      | l_extendedprice | double |         |
      | l_discount      | double |         |
      | l_tax           | double |         |
      | l_returnflag    | string |         |
      | l_linestatus    | string |         |
      | l_shipdate      | string |         |
      | l_commitdate    | string |         |
      | l_receiptdate   | string |         |
      | l_shipinstruct  | string |         |
      | l_shipmode      | string |         |
      | l_shipcomment   | string |         |
      +-----------------+--------+---------+
      Fetched 16 row(s) in 0.01s
      [vd0238.halxg.cloudera.com:21000] > refresh spark_write_test;
      Query: refresh spark_write_test
      
      Fetched 0 row(s) in 0.06s
      [vd0238.halxg.cloudera.com:21000] > describe spark_write_test;
      Query: describe spark_write_test
      +-----------------+--------+---------+
      | name            | type   | comment |
      +-----------------+--------+---------+
      | l_orderkey      | bigint |         |
      | l_linenumber    | bigint |         |
      | l_partkey       | bigint |         |
      | l_suppkey       | bigint |         |
      | l_quantity      | double |         |
      | l_extendedprice | double |         |
      | l_discount      | double |         |
      | l_tax           | double |         |
      | l_returnflag    | string |         |
      | l_linestatus    | string |         |
      | l_shipdate      | string |         |
      | l_commitdate    | string |         |
      | l_receiptdate   | string |         |
      | l_shipinstruct  | string |         |
      | l_shipmode      | string |         |
      | l_shipcomment   | string |         |
      | l_orderkey      | bigint |         |
      | l_linenumber    | bigint |         |
      | l_partkey       | bigint |         |
      | l_suppkey       | bigint |         |
      | l_quantity      | double |         |
      | l_extendedprice | double |         |
      | l_discount      | double |         |
      | l_tax           | double |         |
      | l_returnflag    | string |         |
      | l_linestatus    | string |         |
      | l_shipdate      | string |         |
      | l_commitdate    | string |         |
      | l_receiptdate   | string |         |
      | l_shipinstruct  | string |         |
      | l_shipmode      | string |         |
      | l_shipcomment   | string |         |
      +-----------------+--------+---------+
      Fetched 32 row(s) in 0.02s
      

      Attachments

        Issue Links

          Activity

            People

              caseyc casey
              tlipcon Todd Lipcon
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: