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

Create table if not exists "foo" loads metadata for the table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Impala 2.12.0
    • None
    • Frontend
    • None
    • ghx-label-9

    Description

      While trying to create a table if it doesn't exists, the statement took a long while as the frontend tried to load metadata for the table.

      I0515 15:10:24.017038  8702 Frontend.java:935] Analyzing query: CREATE EXTERNAL TABLE IF NOT EXISTS 100k_partitions_1m_files (
       c1 STRING,
       c2 STRING
       )
       PARTITIONED BY (
       part STRING
       )
       STORED AS TEXTFILE
       LOCATION '/user/hive/warehouse/metadata_benchmarks.db/metrics_table'
      I0515 15:10:24.065743  8702 FeSupport.java:274] Requesting prioritized load of table(s): metadata_benchmarks.100k_partitions_1m_files
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            mmokhtar Mostafa Mokhtar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: