This is an automated email from the ASF dual-hosted git repository.
jhyde pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/calcite.git.
from 0aec074 [CALCITE-4156] ReflectiveRelMetadataProvider constructor
should throw an exception (instead of assertion) when called with an empty map
new ffd7b37 Make SQL parser's SQL-92 reserved words consistent with
actual SQL-92 standard
new a9a1985 Resources: When a resource is missing, output the line to add
to .properties
new 2c3dc22 Refactor SqlValidatorImpl: combine whereScopes, groupByScopes
etc. into one field, clauseScopes
new 3f75e5e Refactor RelOptRulesTest
new 5abedb1 [CALCITE-4154] Add a rule, ProjectAggregateMergeRule, to
merge a Project onto an Aggregate
new 37b8cdb [CALCITE-3957] AggregateMergeRule should merge SUM0 into
COUNT even if GROUP BY is empty
The 6 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:
.../java/org/apache/calcite/plan/RelOptRules.java | 1 +
.../calcite/rel/rules/AggregateMergeRule.java | 4 +-
.../org/apache/calcite/rel/rules/CoreRules.java | 5 +
.../rel/rules/ProjectAggregateMergeRule.java | 200 ++
.../java/org/apache/calcite/runtime/Resources.java | 12 +-
.../apache/calcite/sql/SqlInternalOperator.java | 4 +-
.../calcite/sql/SqlSplittableAggFunction.java | 3 +-
.../apache/calcite/sql/SqlWindowTableFunction.java | 12 +-
.../calcite/sql/parser/SqlAbstractParserImpl.java | 23 +-
.../org/apache/calcite/sql/type/InferTypes.java | 5 +-
.../MutableSetOp.java => sql/util/IdPair.java} | 47 +-
.../sql/validate/AggregatingSelectScope.java | 74 +-
.../calcite/sql/validate/SqlNameMatcher.java | 7 +
.../calcite/sql/validate/SqlValidatorImpl.java | 68 +-
.../calcite/sql/validate/SqlValidatorUtil.java | 13 +-
.../apache/calcite/sql/parser/SqlParserTest.java | 10 +-
.../calcite/sql/validate/SqlValidatorUtilTest.java | 6 +
.../org/apache/calcite/test/RelOptRulesTest.java | 2087 ++++++++------------
.../org/apache/calcite/test/RelOptTestBase.java | 8 +
.../apache/calcite/test/SqlToRelConverterTest.java | 2 +-
.../java/org/apache/calcite/util/UtilTest.java | 45 +
.../org/apache/calcite/test/RelOptRulesTest.xml | 113 +-
22 files changed, 1362 insertions(+), 1387 deletions(-)
create mode 100644
core/src/main/java/org/apache/calcite/rel/rules/ProjectAggregateMergeRule.java
copy core/src/main/java/org/apache/calcite/{rel/mutable/MutableSetOp.java =>
sql/util/IdPair.java} (51%)