This is an automated email from the ASF dual-hosted git repository. hyuan pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/calcite.git.
from 4208d0b [CALCITE-3823] Do not use String.replaceAll new 80e6b02 [CALCITE-3753] Remove rule queue importance new 15fa9bc [CALCITE-3753] Introduce SubstitutionRule interface and execute substitutional rule first The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../org/apache/calcite/adapter/jdbc/JdbcRules.java | 5 + .../apache/calcite/plan/AbstractRelOptPlanner.java | 2 +- .../{package-info.java => SubstitutionRule.java} | 10 +- .../org/apache/calcite/plan/volcano/RelSet.java | 3 +- .../org/apache/calcite/plan/volcano/RelSubset.java | 15 +- .../org/apache/calcite/plan/volcano/RuleQueue.java | 423 +-------------------- .../calcite/plan/volcano/VolcanoPlanner.java | 231 ++--------- .../calcite/plan/volcano/VolcanoRuleCall.java | 5 + .../calcite/plan/volcano/VolcanoRuleMatch.java | 101 ----- ...nnerPhase.java => VolcanoTimeoutException.java} | 11 +- .../calcite/rel/rules/AggregateRemoveRule.java | 3 +- .../calcite/rel/rules/AggregateValuesRule.java | 3 +- .../apache/calcite/rel/rules/CalcRemoveRule.java | 3 +- .../rel/rules/ExchangeRemoveConstantKeysRule.java | 4 +- .../apache/calcite/rel/rules/FilterMergeRule.java | 3 +- .../rel/rules/FilterProjectTransposeRule.java | 4 - .../rel/rules/ProjectJoinJoinRemoveRule.java | 4 +- .../calcite/rel/rules/ProjectJoinRemoveRule.java | 3 +- .../calcite/rel/rules/ProjectRemoveRule.java | 3 +- .../apache/calcite/rel/rules/PruneEmptyRules.java | 3 +- .../calcite/rel/rules/ReduceExpressionsRule.java | 4 +- .../rel/rules/SortRemoveConstantKeysRule.java | 4 +- .../calcite/plan/volcano/VolcanoPlannerTest.java | 3 - .../org/apache/calcite/test/JdbcAdapterTest.java | 126 +++--- .../java/org/apache/calcite/test/JdbcTest.java | 10 +- .../java/org/apache/calcite/test/LatticeTest.java | 8 +- .../apache/calcite/test/MaterializationTest.java | 17 +- .../apache/calcite/test/ScannableTableTest.java | 4 +- .../test/enumerable/EnumerableCorrelateTest.java | 8 +- .../test/enumerable/EnumerableJoinTest.java | 22 +- core/src/test/resources/sql/misc.iq | 4 +- core/src/test/resources/sql/sub-query.iq | 6 +- core/src/test/resources/sql/winagg.iq | 6 +- .../calcite/adapter/geode/rel/GeodeSort.java | 2 +- .../calcite/adapter/mongodb/MongoAdapterTest.java | 4 +- .../org/apache/calcite/test/SparkAdapterTest.java | 8 +- 36 files changed, 198 insertions(+), 877 deletions(-) copy core/src/main/java/org/apache/calcite/plan/{package-info.java => SubstitutionRule.java} (80%) copy core/src/main/java/org/apache/calcite/plan/volcano/{VolcanoPlannerPhase.java => VolcanoTimeoutException.java} (75%)