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

allow getting all partitions for table to also use direct SQL path

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • None
    • None

    Description

      While testing some queries I noticed that getPartitions can be very slow (which happens e.g. in non-strict mode with no partition column filter); with a table with many partitions it can take 10-12s easily. SQL perf path can also be used for this path.

      Attachments

        1. HIVE-5158.D12573.1.patch
          3 kB
          Phabricator
        2. HIVE-5158.D12573.2.patch
          6 kB
          Phabricator
        3. HIVE-5158.D12573.3.patch
          11 kB
          Phabricator
        4. HIVE-5158.D12573.4.patch
          13 kB
          Phabricator
        5. HIVE-5158.D12573.5.patch
          16 kB
          Phabricator
        6. HIVE-5158.D12573.6.patch
          16 kB
          Phabricator
        7. HIVE-5158.D12573.7.patch
          16 kB
          Phabricator
        8. HIVE-5158.D12573.8.patch
          16 kB
          Phabricator

        Activity

          People

            sershe Sergey Shelukhin
            sershe Sergey Shelukhin
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: