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

Cut dependencies between HiveXxPullUpConstantsRule and HiveReduceExpressionsRule

    XMLWordPrintableJSON

Details

    Description

      HiveSortPullUpConstantsRule and HiveUnionPullUpConstantsRule are calling [predicateConstants|https://github.com/apache/hive/blob/8c3567ea8e423b202cde370f4d3fb401bcc23e46/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveSortPullUpConstantsRule.java#L128
      ] method from HiveReduceExpressionsRule.

      The method in HiveReduceExpressionsRule is deprecated and creates unnecessary dependencies among the rules. It can be replaced by a direct call to RexUtil.predicateConstants; the two methods are functionally equivalent.

      Attachments

        Issue Links

          Activity

            People

              zabetak Stamatis Zampetakis
              zabetak Stamatis Zampetakis
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 0.5h
                  0.5h