Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-4577

Improve performance for query on INFORMATION_SCHEMA when HIVE is plugged in

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: Storage - Hive
    • Labels:
      None

      Description

      A query such as

      select * from INFORMATION_SCHEMA.`TABLES` 
      

      is converted as calls to fetch all tables from storage plugins.

      When users have Hive, the calls to hive metadata storage would be:
      1) get_table
      2) get_partitions
      However, the information regarding partitions is not used in this type of queries. Beside, a more efficient way is to fetch tables is to use get_multi_table call.

        Attachments

          Activity

            People

            • Assignee:
              seanhychu Sean Hsuan-Yi Chu
              Reporter:
              seanhychu Sean Hsuan-Yi Chu
              Reviewer:
              Dechang Gu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: