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

Improve SharedWorkOptimizer performance

    XMLWordPrintableJSON

Details

    Description

      for queries which are unioning ~800 constant rows the SWO is doing around n*n/2 operations trying to find 2 TS-es which could be merged

      select constants
      UNION ALL
      ...
      UNION ALL
      select constants
      

      Attachments

        Issue Links

          Activity

            People

              kgyrtkirk Zoltan Haindrich
              kgyrtkirk Zoltan Haindrich
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m