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

Remove unnecessary optimization in canHandleQbForCbo() method

    XMLWordPrintableJSON

Details

    Description

      This ticket is an improvement on https://issues.apache.org/jira/browse/HIVE-26426.  The canHandleQbForCbo() checks whether Calcite handle the query or not and it returns null if the query can be handled; non-null reason string if it cannot be. 

      But currently, it returns an empty string if INFO Log is not enabled. This is probably a performance optimization that is not needed and can be simplified. 

      Attachments

        Issue Links

          Activity

            People

              achennagiri Abhay
              achennagiri Abhay
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1h 10m
                  1h 10m