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

Print excluded rules from CBO

    XMLWordPrintableJSON

Details

    Description

      HIVE-25880 introduced a configuration parameter for excluding CBO rules based on a regex on their description.

      Calcite logs when a rule is excluded (see AbstractRelOptPlanner.java#L316 and VolcanoRuleCall.java#L169).

      To ease investigations, this should be complemented by printing the regex used (if not blank) in Hive DEBUG logs, and the same in CBO information (i.e., EXPLAIN CBO's output).

      Attachments

        Issue Links

          Activity

            People

              asolimando Alessandro Solimando
              asolimando Alessandro Solimando
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 2h
                  2h