This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch site
in repository https://gitbox.apache.org/repos/asf/calcite.git
discard 4f57d7fc24 [CALCITE-7037] Release Calcite 1.40.0
discard 3cb8492872 Site: Add Zhen Chen as committer
discard d08f7cdf71 Site: Add Alessandro Solimando as PMC
discard c674956a16 Bump json from 2.10.1 to 2.10.2 in /site
discard fe0a56e516 Bump nokogiri from 1.18.2 to 1.18.8 in /site
discard 057bcf29e9 Site: Add Xiong Duan as PMC
discard b71a4c721d [CALCITE-6895] Change JdbcTest.testVersion to strictly
match minor version in gradle.properties
discard 5f68c87133 [CALCITE-6872] Announce 1.39.0 release and update date
discard d84e2086c7 [CALCITE-6872] Release Calcite 1.39.0
add 0b328db78c [CALCITE-6872] Release Calcite 1.39.0
add 44d2d7ead8 [CALCITE-6872] Announce 1.39.0 release and update date
add f0195df7fe Prepare for next development iteration
add 9b51667eeb [CALCITE-6895] Change JdbcTest.testVersion to strictly
match minor version in gradle.properties
add 3fe2d90721 [CALCITE-6875] EnumerableFilterRule/EnumerableProjectRule
should not convert a Logical Filter/Project to Enumerable Filter/Project when
it contains Subquery
add 02856ec340 [CALCITE-6878] Implement FilterSortTransposeRule
add 6f2a6889cf [CALCITE-6892] CHAR_LENGTH Function is not recognized in
DerbySQL
add bbcde68048 [CALCITE-6901] SINGLE_VALUE rewrite to wrong sql in MySQL
dialect
add dfbcc9bbc1 [CALCITE-6903] CalciteSchema#getSubSchemaMap must consider
implicit sub-schemas
add 6de592c79e [CALCITE-6897] AbstractConverter of root node is not needed
in topdown mode
add 0d99a2e1d5 [CALCITE-6431] Implement the SINGLE_VALUE aggregation in
HiveSqlDialect And SparkSQLDialect
add 847b1e8f9f [CALCITE-6836] Add Rule to convert INTERSECT to EXISTS
add c72e267f9c [CALCITE-6900] Support Char type cast in ClickHouse Dialect
add bfbe8930f4 [CALCITE-6910] RelToSql does not handle ASOF joins
add 29e20ee16b [CALCITE-6913] Some casts inserted by type coercion do not
have source position information
add 254f2bac7b [CALCITE-6834] In query that applies COALESCE to nullable
SUM,EnumerableProjectToCalcRule throws AssertionError
add c4b0b2e7bf [CALCITE-6920] The type derived for a cast to INT ARRAY
always has non-nullable elements
add e3184180ba [CALCITE-2109] MongoAdapter: Support in condition with and
condition
add f0ce9ea898 [CALCITE-6825] Add support for ALL, SOME, ANY in
RelToSqlConverter
add 7ac3ac8725 [CALCITE-6911] SqlItemOperator.inferReturnType throws
AssertionError for out of bounds accesses
add ff50d1d427 [CALCITE-6820] Trino dialect implementation
add e617e85b9b [CALCITE-6888] Doris dialect implementation
add bc60174737 [CALCITE-6909] ClickHouse Dailect can not support accurate
precision
add b394abca40 Site: Add Xiong Duan as PMC
add 2761850647 [CALCITE-6931] STARTSWITH/ENDSWITH in SPARK should not
convert to STARTS_WITH/ENDS_WITH
add 525d8db5b7 [CALCITE-6891] Implement IntersectReorderRule
add 82eb4bdd0f [CALCITE-6835] Invalid unparse for IS TRUE,IS FALSE,IS NOT
TRUE and IS NOT FALSE in StarRocksDialect
add 69bfec3dd2 [CALCITE-6904] IS_NOT_DISTINCT_FROM is incorrectly handled
by EnumerableJoinRule
add 4c839f6cc1 [CALCITE-6934] The examples for DDL extension on the
official website cannot run
add f47928a629 [CALCITE-6880] Implement IntersectToSemiJoinRule
add 3ea7799649 [CALCITE-6936] Table function parameter matching should
always be case-insensitive
add ac81bf5661 [CALCITE-6893] Remove agg from Union children in
IntersectToDistinctRule
add 21277d8960 [CALCITE-6921] REGEXP_REPLACE with empty string causes
Exception
add 78957058c3 [CALCITE-6923] REGEXP_REPLACE_PG_...: backward references
behave differently than in postgres
add 61e6dd1170 [CALCITE-6943] Calcite JDBC adapter for Hive should
translate APPROX_COUNT_DISTINCT to COUNT DISTINCT
add 7a0564a7d0 [CALCITE-6938] Support zero value creation of nested data
types
add 749a8503e0 [CALCITE-6948] Implement MinusToAntiJoinRule
add d3d5f10dba [CALCITE-6941] Array/Map value constructor is unparsed
incorrectly in ClickHouse
add 9b91d319e7 [CALCITE-6945] Use LITERAL_AGG to simplify
SubQueryRemoveRule by avoiding the extra Project
add e9c28c64f3 [CALCITE-6949] ClickHouse not support floor date to
SECOND/MILLISECOND/MICROSECOND/NANOSECOND
add 7cea035f05 [CALCITE-6927] Add rule for join condition remove IS NOT
DISTINCT FROM
add 850a25f4ea [CALCITE-6840] Hive/Phoenix Dialect should not cast to REAL
type directly
add bddcbaf233 [CALCITE-6930] Implementing JoinConditionOrExpansionRule
add df60b4e5dd [CALCITE-6915] Generalize terminology Linter to allow
pattern based checks in commit messages
add 77b1c567c3 [CALCITE-6959] Support LogicalAsofJoin in RelShuttle
add fa502eda26 [CALCITE-6960] The tests for SemiJoinRemoveRule should
explicitly include a semi join
add 704792c593 [CALCITE-6958] JDBC adapter for MySQL not support floor
date to MILLISECOND/MICROSECOND
add 021b3c35fc [CALCITE-6954] SqlTypeFactoryImpl#leastRestrictive returns
non-canonical collection types
add 326321dec5 [CALCITE-6961] Support LogicalRepeatUnion in RelShuttle
add aa2af60e58 [CALCITE-6914] Expand join-dependent predicates from
disjunction
add a4b6f6ea41 [CALCITE-6953] Extend UnionEliminatorRule to support
Intersect and Minus
add 7563e44b23 [CALCITE-6955] PruneEmptyRules does not handle the all
attribute of SetOp correctly
add 8634981f3d [CALCITE-2636] SQL parser has quadratic running time when
SQL string is very large
add 8f1dce91b6 [CALCITE-6966] Change JoinConditionOrExpansionRule name and
accept more predicates that will allow the expansion to be performed
add d58a108b5d [CALCITE-6944] Align toSqlString with SQL std for Table
Args in PTF
add 9be4b4edde [CALCITE-6957] The RelOptRulesTest tests should fail if the
xml file contains tests that do not exist in Java
add e420a34c6d Documentation Supplement for MinusToAntiJoinRule
add b96fa39e65 [CALCITE-6964] SqlDelete#getOperandList return operands'
both order and size not match with SqlDelete#setOperand
add 926b966cb9 [CALCITE-6967] Unparsing STARTS_WITH/ENDS_WITH/BIT
functions is incorrect for the Clickhouse dialect
add 67bfe8bbe1 [CALCITE-6969] Support ClickHouse in SqlLibrary
add b49a4e8348 [CALCITE-5985] FilterTableFunctionTransposeRule should not
use "Logical" RelNodes
add 26ad924e97 [CALCITE-6980] RelJson cannot serialize binary literals
add 36f6dddd89 [CALCITE-6974] Default typesystem has incorrect limits for
DECIMAL for Presto/MySQL/Phoenix
add aa11fd6e54 [CALCITE-6973] Add rule to convert Minus to Filter
add 47d096d26e [CALCITE-6335] Quidem tests should allow specifying
optimization passes to apply to programs
add 6e664e97fa [CALCITE-6883] Add Javadoc for RelRoot#isTrivial variants
and refactor related tests
add e9db5bdb7c [CALCITE-6979] Invalid unparse for IS TRUE,IS FALSE,IS NOT
TRUE and IS NOT FALSE in ClickHouseDialect
add cfa464d75b [CALCITE-6975] Upgrade Quidem version to 0.12
add c645c560f6 Bump nokogiri from 1.18.2 to 1.18.8 in /site
add fe2e1385d2 [CALCITE-6594] RelMdSize does not handle ARRAY constructor
calls
add f438bf62e0 [CALCITE-6984] FamilyOperandTypeChecker with a Predicate
describing optional arguments does not reject mistyped expressions
add 1ff37a0097 [CALCITE-6986] Parser rejects SQL sources that produce an
empty statement list
add 34a43be216 [CALCITE-6983] SortJoinTransposeRule should not push SORT
past a JOIN when SORT's fetch is DynamicParam
add c0cc8daee6 [CALCITE-6432] Infinite loop for
JoinPushTransitivePredicatesRule
add 1ae39588d5 [CALCITE-6988] DuckDB dialect implementation
add a541ce7a9c [CALCITE-6992] RelJson cannot serialize UUID literals
add cb27eed9d7 [CALCITE-6946] Expand predicates from disjunction for
inputs of Join
add 1919f8e903 [CALCITE-6989] Enhance RexBuilder#makeIn to create SEARCH
for ARRAY literals
add 7363897a7c [CALCITE-6977] Unparse DELETE SQL throws unsupported
exception
add a1367259f4 [CALCITE-6939] Add support for Lateral Column Alias
add 56fa3089f1 [CALCITE-6981] Runtime conversion of DECIMAL ARRAY to INT
ARRAY fails with a ClassCastException
add 82d1234ff2 [CALCITE-6995] Support FULL JOIN in StarRocks/Doris Dialect
add ce6a160397 [CALCITE-5387] Type-mismatch on nullability in
JoinPushTransitivePredicatesRule RelRule
add eeb9c3d076 [CALCITE-6985] Add rule to transform MIN/MAX with ORDER BY
and LIMIT 1
add 19ce56761e Update documentation for example0 in RelBuilderExample
add 45169e3237 Use StandardCharsets in RuleMatchVisualizer.java
add 06355b6a61 [CALCITE-6999] Invalid unparse for TRIM in PrestoDialect
add fcbbea2676 [CALCITE-7000] Extend IntersectToSemiJoinRule to support
n-way inputs
add 99c4493260 [CALCITE-7006] Incorrect left join results with IS NOT
DISTINCT FROM under specific plan
add f6e7618998 [CALCITE-6962] Exists subquery returns incorrect result
when or condition involves null column
add 412ac801eb [CALCITE-7005] Invalid unparse for IS TRUE,IS FALSE,IS NOT
TRUE and IS NOT FALSE in Hive/Presto Dialect
add 1fb956b505 Bump json from 2.10.1 to 2.10.2 in /site
add 4a0e808d46 [CALCITE-6997] SQLite dialect implementation
add 6748fc8dee [CALCITE-7002] Create an optimization rule to eliminate
UNION from the same source with different filters
add b6a15e6c6f Site: Add Alessandro Solimando as PMC
add e9f7dfc318 [CALCITE-6991] Validator cannot infer type for COALESCE
when call is not expanded
add 1bf07c5b7c [CALCITE-7013] Support building RexLiterals from Character
values
add 4ee33c9488 [CALCITE-7001] Cast of malformed literal to TIMESTAMP WITH
LOCAL TIME ZONE need to throw informative error
add f8fc4ca37e [CALCITE-7018] Upgrade Janino from 3.1.11 to 3.1.12
add 4283b8735f [CALCITE-6998] The command !set planner-rules does not
support rules with multiple Config
add c0344cbb4d [CALCITE-7025] Verifying the Quantify operator without
compatible types, should throw an exception about the Quantify Operator
add d96709c4cc [CALCITE-7019] Simplify 'NULL IN (20, 10)' to 'NULL'
add b603c2306d [CALCITE-6866] PostgreSQLDialect support to unparse LISTAGG
aggregate function
add 99a08c4915 [CALCITE-7008] Extend MinusToAntiJoinRule to support n-way
inputs
add 6c55cd5966 Site: Add Zhen Chen as committer
add 988caace5c [CALCITE-6951] Add STRING_TO_ARRAY function(enabled in
PostgreSQL Library)
add 79301845a8 [CALCITE-7022] Decouple ModelHandler from CalciteConnection
add 0748e44459 [CALCITE-7014] Support
EQUAL/GreaterThanOrEqual/LessThanOrEqual expressions to RexNode In
CalcitePrepare
add 60e1b72fa1 [CALCITE-6978] Translation to relational algebra of
correlated query with COALESCE causes an assertion failure
add 1d4b1fd6e9 [CALCITE-7030] Enhance TopologicalOrderIterator to support
BOTTOM_UP
add 00e09ac15e [CALCITE-5638] Columns trimmer need to consider sub queries
add 40e90998ac [CALCITE-7027] Improve error message in case of several
`UNION`, `INTERSECT`, `EXCEPT` in a query
add eee8c893db [CALCITE-6887] ReduceExpressionsRule applied to 'IN
subquery' should make the values distinct if the subquery is a Values composed
of literals
add 20d503d3b6 Revert "[CALCITE-6978] Translation to relational algebra of
correlated query with COALESCE causes an assertion failure"
add e2e77aaf17 [CALCITE-7037] Release Calcite 1.40.0
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (4f57d7fc24)
\
N -- N -- N refs/heads/site (e2e77aaf17)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
babel/src/test/resources/sql/big-query.iq | 10 +
babel/src/test/resources/sql/postgresql.iq | 56 +
build.gradle.kts | 2 +-
core/src/main/codegen/templates/Parser.jj | 23 +-
.../adapter/enumerable/EnumerableFilterRule.java | 4 +-
.../adapter/enumerable/EnumerableProjectRule.java | 6 +-
.../calcite/adapter/enumerable/RexImpTable.java | 50 +
.../adapter/enumerable/RexToLixTranslator.java | 12 +
.../calcite/config/CalciteSystemProperty.java | 4 +-
.../org/apache/calcite/jdbc/CalciteSchema.java | 11 +-
.../main/java/org/apache/calcite/jdbc/Driver.java | 6 +-
.../org/apache/calcite/model/ModelHandler.java | 35 +-
.../java/org/apache/calcite/plan/RelOptUtil.java | 31 +
.../main/java/org/apache/calcite/plan/Strong.java | 13 +
.../org/apache/calcite/plan/hep/HepPlanner.java | 23 +-
.../plan/visualizer/RuleMatchVisualizer.java | 9 +-
.../calcite/plan/volcano/VolcanoPlanner.java | 2 +-
.../apache/calcite/prepare/CalcitePrepareImpl.java | 6 +
.../main/java/org/apache/calcite/rel/RelRoot.java | 56 +
.../java/org/apache/calcite/rel/RelShuttle.java | 6 +
.../org/apache/calcite/rel/RelShuttleImpl.java | 10 +
.../java/org/apache/calcite/rel/core/Join.java | 2 +-
.../java/org/apache/calcite/rel/core/JoinInfo.java | 18 +-
.../apache/calcite/rel/externalize/RelJson.java | 14 +-
.../calcite/rel/logical/LogicalRepeatUnion.java | 6 +
.../calcite/rel/metadata/RelMdPredicates.java | 48 +-
.../org/apache/calcite/rel/metadata/RelMdSize.java | 14 +
.../calcite/rel/rel2sql/RelToSqlConverter.java | 17 +
.../apache/calcite/rel/rel2sql/SqlImplementor.java | 19 +-
.../rel/rules/AggregateMinMaxToLimitRule.java | 128 ++
.../rules/AggregateProjectPullUpConstantsRule.java | 1 +
.../calcite/rel/rules/AggregateValuesRule.java | 84 +-
.../org/apache/calcite/rel/rules/CoreRules.java | 151 +-
.../rules/ExpandDisjunctionForJoinInputsRule.java | 244 ++
.../rel/rules/ExpandDisjunctionForTableRule.java | 285 +++
.../apache/calcite/rel/rules/FilterJoinRule.java | 6 +
...sposeRule.java => FilterSortTransposeRule.java} | 56 +-
.../rules/FilterTableFunctionTransposeRule.java | 32 +-
.../calcite/rel/rules/IntersectReorderRule.java | 81 +
.../calcite/rel/rules/IntersectToDistinctRule.java | 106 +-
.../calcite/rel/rules/IntersectToExistsRule.java | 158 ++
.../calcite/rel/rules/IntersectToSemiJoinRule.java | 158 ++
.../apache/calcite/rel/rules/JoinCommuteRule.java | 8 +
... JoinConditionExpandIsNotDistinctFromRule.java} | 102 +-
.../rel/rules/JoinDeriveIsNotNullFilterRule.java | 2 +-
.../calcite/rel/rules/JoinExpandOrToUnionRule.java | 461 ++++
.../calcite/rel/rules/LoptOptimizeJoinRule.java | 2 +-
.../calcite/rel/rules/LoptSemiJoinOptimizer.java | 2 +-
.../calcite/rel/rules/MinusToAntiJoinRule.java | 190 ++
.../calcite/rel/rules/MinusToFilterRule.java | 124 +
.../rel/rules/ProjectAggregateMergeRule.java | 3 +-
.../apache/calcite/rel/rules/PruneEmptyRules.java | 6 +
.../org/apache/calcite/rel/rules/RuleConfig.java | 55 +
.../calcite/rel/rules/SetOpToFilterRule.java | 287 +++
.../calcite/rel/rules/SortJoinTransposeRule.java | 15 +-
.../calcite/rel/rules/SortUnionTransposeRule.java | 2 +
.../calcite/rel/rules/SubQueryRemoveRule.java | 40 +-
.../calcite/rel/rules/UnionEliminatorRule.java | 40 +-
.../org/apache/calcite/rel/type/RelDataType.java | 2 +-
.../calcite/rel/type/RelDataTypeFactoryImpl.java | 9 +-
.../apache/calcite/rel/type/RelDataTypeSystem.java | 5 +
.../java/org/apache/calcite/rex/RexBuilder.java | 38 +-
.../java/org/apache/calcite/rex/RexLiteral.java | 3 +
.../calcite/rex/RexPermuteInputsShuttle.java | 42 +-
.../main/java/org/apache/calcite/rex/RexUtil.java | 184 +-
.../apache/calcite/runtime/CalciteResource.java | 12 +
.../org/apache/calcite/runtime/SqlFunctions.java | 83 +-
.../main/java/org/apache/calcite/sql/SqlCall.java | 17 +-
.../org/apache/calcite/sql/SqlCallBinding.java | 15 +-
.../calcite/sql/SqlCollectionTypeNameSpec.java | 4 +-
.../java/org/apache/calcite/sql/SqlDelete.java | 17 +-
.../java/org/apache/calcite/sql/SqlDialect.java | 11 +
.../apache/calcite/sql/SqlDialectFactoryImpl.java | 12 +
.../main/java/org/apache/calcite/sql/SqlKind.java | 4 +
.../org/apache/calcite/sql/SqlMapTypeNameSpec.java | 12 +-
.../main/java/org/apache/calcite/sql/SqlUtil.java | 6 +
.../calcite/sql/advise/SqlAdvisorValidator.java | 3 +-
.../calcite/sql/dialect/BigQuerySqlDialect.java | 41 +-
.../calcite/sql/dialect/ClickHouseSqlDialect.java | 117 +-
.../calcite/sql/dialect/DerbySqlDialect.java | 17 +
.../calcite/sql/dialect/DorisSqlDialect.java | 72 +
.../calcite/sql/dialect/DuckDBSqlDialect.java | 162 ++
.../apache/calcite/sql/dialect/HiveSqlDialect.java | 68 +-
.../calcite/sql/dialect/MysqlSqlDialect.java | 44 +-
.../calcite/sql/dialect/PhoenixSqlDialect.java | 70 +-
.../calcite/sql/dialect/PostgresqlSqlDialect.java | 6 +
.../calcite/sql/dialect/PrestoSqlDialect.java | 54 +-
.../calcite/sql/dialect/SparkSqlDialect.java | 53 +
.../calcite/sql/dialect/SqliteSqlDialect.java | 81 +
.../calcite/sql/dialect/StarRocksSqlDialect.java | 11 +
...VerticaSqlDialect.java => TrinoSqlDialect.java} | 51 +-
.../apache/calcite/sql/fun/SqlCaseOperator.java | 2 +-
.../calcite/sql/fun/SqlCoalesceFunction.java | 51 +
.../org/apache/calcite/sql/fun/SqlInOperator.java | 2 +-
.../apache/calcite/sql/fun/SqlItemOperator.java | 45 +-
.../calcite/sql/fun/SqlJsonQueryFunction.java | 19 +-
.../org/apache/calcite/sql/fun/SqlLibrary.java | 7 +-
.../calcite/sql/fun/SqlLibraryOperators.java | 9 +-
.../calcite/sql/fun/SqlQuantifyOperator.java | 46 +
.../apache/calcite/sql/parser/SqlParserPos.java | 2 +-
.../org/apache/calcite/sql/type/OperandTypes.java | 92 +-
.../sql/validate/SqlAbstractConformance.java | 4 +
.../calcite/sql/validate/SqlConformance.java | 28 +
.../calcite/sql/validate/SqlConformanceEnum.java | 9 +
.../sql/validate/SqlDelegatingConformance.java | 4 +
.../calcite/sql/validate/SqlValidatorImpl.java | 165 +-
.../validate/implicit/AbstractTypeCoercion.java | 3 +-
.../sql/validate/implicit/TypeCoercion.java | 25 +-
.../sql/validate/implicit/TypeCoercionImpl.java | 39 +-
.../apache/calcite/sql2rel/RelDecorrelator.java | 74 +-
.../apache/calcite/sql2rel/RelFieldTrimmer.java | 122 +-
.../java/org/apache/calcite/tools/RelBuilder.java | 11 +
.../org/apache/calcite/util/BuiltInMethod.java | 3 +
.../apache/calcite/util/RelToSqlConverterUtil.java | 117 +
.../calcite/util/TimestampWithTimeZoneString.java | 61 +-
.../calcite/util/graph/DefaultDirectedGraph.java | 1 +
.../util/graph/TopologicalOrderIterator.java | 77 +-
.../calcite/runtime/CalciteResource.properties | 4 +
.../apache/calcite/examples/RelBuilderExample.java | 5 +-
.../org/apache/calcite/model/ModelHandlerTest.java | 59 +
.../org/apache/calcite/plan/RelOptUtilTest.java | 9 +
.../org/apache/calcite/plan/RelWriterTest.java | 135 ++
.../java/org/apache/calcite/rel/RelRootTest.java | 122 +
.../calcite/rel/rel2sql/RelToSqlConverterTest.java | 973 ++++++--
.../org/apache/calcite/rex/RexBuilderTest.java | 162 +-
.../org/apache/calcite/rex/RexProgramTest.java | 65 +
.../apache/calcite/sql/SqlCallOperandsTest.java | 73 +
.../sql/type/SqlTypeFactoryCanonicalTest.java | 85 +
.../org/apache/calcite/test/CoreQuidemTest.java | 10 +
.../org/apache/calcite/test/JdbcAdapterTest.java | 21 +
.../java/org/apache/calcite/test/JdbcTest.java | 352 +++
.../java/org/apache/calcite/test/LintTest.java | 115 +-
.../org/apache/calcite/test/LoadCoreRulesTest.java | 79 +
.../apache/calcite/test/ReflectiveSchemaTest.java | 130 ++
.../org/apache/calcite/test/RelMetadataTest.java | 19 +
.../org/apache/calcite/test/RelOptRulesTest.java | 915 +++++++-
.../org/apache/calcite/test/SqlFunctionsTest.java | 50 +
.../apache/calcite/test/SqlToRelConverterTest.java | 47 +
.../org/apache/calcite/test/SqlValidatorTest.java | 198 +-
.../test/enumerable/EnumerableCorrelateTest.java | 18 +
.../java/org/apache/calcite/util/UtilTest.java | 8 +-
.../calcite/util/graph/DirectedGraphTest.java | 15 +
.../src/test/resources/hsqldb-scott.json | 20 +-
.../org/apache/calcite/test/RelOptRulesTest.xml | 2369 +++++++++++++++-----
.../apache/calcite/test/SqlToRelConverterTest.xml | 17 +-
core/src/test/resources/sql/agg.iq | 48 +
core/src/test/resources/sql/cast.iq | 87 +
core/src/test/resources/sql/join.iq | 171 ++
core/src/test/resources/sql/misc.iq | 163 ++
core/src/test/resources/sql/operator.iq | 2 +-
core/src/test/resources/sql/planner.iq | 322 +++
core/src/test/resources/sql/set-op.iq | 37 +
core/src/test/resources/sql/sub-query.iq | 167 +-
gradle.properties | 6 +-
.../calcite/adapter/mongodb/MongoFilter.java | 67 +-
.../calcite/adapter/mongodb/MongoAdapterTest.java | 60 +
.../calcite/chinook/CalciteConnectionProvider.java | 4 +-
site/_docs/adapter.md | 4 +-
site/_docs/reference.md | 22 +-
.../apache/calcite/sql/parser/SqlParserTest.java | 87 +-
.../apache/calcite/sql/test/SqlTestFactory.java | 6 +
.../org/apache/calcite/test/CalciteAssert.java | 14 +-
.../org/apache/calcite/test/DiffRepository.java | 76 +-
.../apache/calcite/test/MockSqlOperatorTable.java | 40 +-
.../java/org/apache/calcite/test/QuidemTest.java | 132 ++
.../org/apache/calcite/test/SqlOperatorTest.java | 118 +-
.../java/org/apache/calcite/util/TestUtil.java | 46 +
.../apache/calcite/test/DiffRepositoryTest.java | 13 +
.../java/org/apache/calcite/util/TestUtilTest.java | 13 +
.../org/apache/calcite/test/DiffRepositoryTest.xml | 2 +
170 files changed, 12006 insertions(+), 1462 deletions(-)
create mode 100644
core/src/main/java/org/apache/calcite/rel/rules/AggregateMinMaxToLimitRule.java
create mode 100644
core/src/main/java/org/apache/calcite/rel/rules/ExpandDisjunctionForJoinInputsRule.java
create mode 100644
core/src/main/java/org/apache/calcite/rel/rules/ExpandDisjunctionForTableRule.java
copy
core/src/main/java/org/apache/calcite/rel/rules/{FilterSampleTransposeRule.java
=> FilterSortTransposeRule.java} (51%)
create mode 100644
core/src/main/java/org/apache/calcite/rel/rules/IntersectReorderRule.java
create mode 100644
core/src/main/java/org/apache/calcite/rel/rules/IntersectToExistsRule.java
create mode 100644
core/src/main/java/org/apache/calcite/rel/rules/IntersectToSemiJoinRule.java
copy
core/src/main/java/org/apache/calcite/rel/rules/{FilterRemoveIsNotDistinctFromRule.java
=> JoinConditionExpandIsNotDistinctFromRule.java} (50%)
create mode 100644
core/src/main/java/org/apache/calcite/rel/rules/JoinExpandOrToUnionRule.java
create mode 100644
core/src/main/java/org/apache/calcite/rel/rules/MinusToAntiJoinRule.java
create mode 100644
core/src/main/java/org/apache/calcite/rel/rules/MinusToFilterRule.java
create mode 100644
core/src/main/java/org/apache/calcite/rel/rules/RuleConfig.java
create mode 100644
core/src/main/java/org/apache/calcite/rel/rules/SetOpToFilterRule.java
create mode 100644
core/src/main/java/org/apache/calcite/sql/dialect/DorisSqlDialect.java
create mode 100644
core/src/main/java/org/apache/calcite/sql/dialect/DuckDBSqlDialect.java
create mode 100644
core/src/main/java/org/apache/calcite/sql/dialect/SqliteSqlDialect.java
copy core/src/main/java/org/apache/calcite/sql/dialect/{VerticaSqlDialect.java
=> TrinoSqlDialect.java} (53%)
create mode 100644
core/src/test/java/org/apache/calcite/model/ModelHandlerTest.java
create mode 100644 core/src/test/java/org/apache/calcite/rel/RelRootTest.java
create mode 100644
core/src/test/java/org/apache/calcite/sql/SqlCallOperandsTest.java
create mode 100644
core/src/test/java/org/apache/calcite/sql/type/SqlTypeFactoryCanonicalTest.java
create mode 100644
core/src/test/java/org/apache/calcite/test/LoadCoreRulesTest.java
copy example/csv/src/test/resources/bug.json =>
core/src/test/resources/hsqldb-scott.json (78%)
create mode 100644 core/src/test/resources/sql/planner.iq