You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by gi...@apache.org on 2025/03/16 10:59:11 UTC

(calcite) branch site updated (479d22b230 -> ed36338148)

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 479d22b230 [CALCITE-6728] Introduce new methods to lookup tables and schemas inside schemas
 discard 03fc5c376c Site: Add talks from Calcite Meetup February 2025
 discard d829811b73 Site: Add Fanyuan Qiu as committer
 discard 9e0c1fe318 [CALCITE-6845] Self-host website images
 discard e976c918c1 [CALCITE-6845] Self-host website images
 discard f3331507d8 [CALCITE-6845] Self-host website images
 discard 3fe6bd52ba [CALCITE-6843] Self-host Lato font on website due to ASF's content security policy
 discard 731fdb4d57 [CALCITE-6843] Self-host Lato font on website due to ASF's content security policy
 discard 983a50c156 [CALCITE-6843] Self-host Lato font on website due to ASF's content security policy
 discard 70dd83ccd7 [CALCITE-6803] Publish website: error while trying to write to /home/
 discard 5c2d95c01d [CALCITE-6794] Site Gemfile contains vulnerable ruby libraries
 discard f5385c3553 Site: Add Cancai Cai as committer
 discard e71a408ed1 [CALCITE-6764] Field access from a nullable ROW should be nullable (part 2)
 discard c34ea33daf Site: Update PMC Chair
 discard 5447e1ddfc [CALCITE-6704] Limit result size of RelMdUniqueKeys handler
 discard 00be2724ef [CALCITE-6685] Support checked arithmetic
     add 541c9fb0b4 [CALCITE-6623] The MongoDB adapter throws a java.lang.ClassCastException when Decimal128 or Binary types are used, or when a primitive value is cast to a string
     add 0f93186cc7 [CALCITE-6618] Support NOT EQUALS operator in Arrow adapter
     add 659ea980b0 [CALCITE-6612] Add DATE_SUB function(enabled in Spark library)
     add 780876e6d1 Chore: Fix STDDEV inline comments
     add b0ecd066df [CALCITE-6608] RexBuilder#makeIn should create EQUALS instead of SEARCH for single point values
     add e6de9b9c66 [CALCITE-6631] The common type for a comparison operator returns the wrong type when comparing a Java type long with a SQL type INTEGER
     add bbdf14d723 [CALCITE-6633] Add CEILING to MSSQL dialect
     add ef1a83f659 [CALCITE-6638] Optimization that simplifies expressions such as '1 > a or 1 <= a or a is null' to TRUE is incorrect when it requires casts that are not lossless
     add 637047900f [CALCITE-5156] Support implicit integer types cast for IN Sub-query
     add efa4d44bb6 [CALCITE-6604] Add support for SqlWindowTableFunction in RelToSql Converter
     add 58aa3caa2a [CALCITE-6637] Date type results should not be automatically converted to timestamp in Arrow adapters
     add 72963da2e7 [CALCITE-6632] Wrong optimization because window missing constants in digest
     add 0c67982546 [CALCITE-6639] Optimization that pulls up predicates causes ASOF JOIN validation failure
     add 855ad83e56 [CALCITE-6607] RexExecutor can throw during evaluation
     add fb7eddea9b [CALCITE-6592] Add test for RelMdPredicates pull up predicate from UNION when it's input predicates include NULL VALUE
     add 169d832251 [CALCITE-6613] Make the Background code examples in Calcite official documentation clearer
     add f7d7bca39b [CALCITE-6635] Refactor Arrow adapter Test
     add 25247c1360 [CALCITE-6643] Char_Length Function is not recognized in PrestoSql. Add LENGTH function in PrestoSqlDialect
     add 5b4f32aee5 [CALCITE-6641] Compiling programs with ASOF joins can report obscure errors
     add add1f8b8da [CALCITE-6642] AggregateUnionTransposeRule should account for changes in nullability of pushed down aggregates
     add 9b4eff06d6 [CALCITE-5532] CompositeOperandTypeChecker should check operands without type coercion first
     add e87ccd58fc [CALCITE-5612] Babel parser should support PostgreSQL's SET TRANSACTION command
     add ed6c33eb1d [CALCITE-6605] Lattice SQL supports complex column expressions
     add 2e99d5118e [CALCITE-6655] Aggregation of deeply nested window not detected when unparsing
     add 4906ef2c61 [CALCITE-4590] Incorrect query result with fixed-length string
     add a83f2f81f9 [CALCITE-6663] Support SPLIT_PART function for PostgreSql
     add 39652ff0a0 [CALCITE-6662] RelJson.rangePointFromJson cannot create Double numerics
     add 7fb0fc26bd [CALCITE-6666] Support Oracle SYSDATE and SYSTIMESTAMP functions
     add c7cace6cca [CALCITE-6350] Unexpected result from UNION with literals expression
     add 40cadca10d [CALCITE-6651] Use RelBuilder in SqlToRelConverter to construct Union
     add 7865c86efb [CALCITE-6677] HAVING clauses fail validation when type coercion is applied to GROUP BY clause
     add 50d1a26b56 Reduced the number of type checks
     add caacc9f95b [CALCITE-6676] DiffRepository does not update log (_actual) file when assertion fails
     add 1294b4e8cc [CALCITE-4512] GROUP BY expression with argument name same with SELECT field and alias causes validation error
     add 2176dfc27b [CALCITE-6682] Framing unsupported error message lacks LAG/LEAD functions
     add aced08dfa2 [CALCITE-6668] Arrow adapter should support IS FALSE Operator and IS TRUE Operator
     add edd6d11abb [CALCITE-6674] Make RelDecorrelator rules configurable
     add f347fba2d2 [CALCITE-6650] Optimize the IN sub-query and SOME sub-query by Metadata RowCount
     add 8b4136bbd1 [CALCITE-6680] RexImpTable erroneously declares NullPolicy.NONE for IS_EMPTY
     add 4e4b246889 Modify DAYNAME and MONTHNAME doc description when set different locale
     add 215577da69 [CALCITE-6689] Add support for INSTR() in Hive SqlLibrary
     add af4391db0d [CALCITE-6645] Support user-defined function without parentheses when db dialect's allowNiladicParentheses property is false
     add f14e944477 [CALCITE-6615] BindableTableScan estimateRowCount does not calculate push down filters
     add 56f47eef5c [CALCITE-6614] InnodbFilterRule incorrectly constructs condition when creating InnodbFilter
     add 214345eacf Introduced bug guard for [CALCITE-6328]
     add 394ec336d6 [CALCITE-6586] Some Rules not firing due to RelMdPredicates returning null in VolcanoPlanner
     add 4563d51027 Add TRIM function unit test for Hsqldb
     add 4ba1e1d211 Add IS_UNKNOWN operator test in Arrow Adapter
     add e20a9a5523 [CALCITE-6647] SortUnionTransposeRule should not push SORT past a UNION when SORT's fetch is DynamicParam
     add f2ec11fe7e [CALCITE-6678] Calcite should support dual table query when db provides this feature
     add b635174180 [CALCITE-6698] Add Javadoc to PartiallyOrderedSet#getNonChildren and getNonParents to clarify their behavior
     add d4b7342526 [CALCITE-5590] NullPointerException when converting 'in' expression that is used inside select list and group by
     add 72e689e22c [CALCITE-6703] RelJson cannot handle timestamps prior to 1970-01-25 20:31:23.648
     add 1e6d205e8e [CALCITE-6640] RelMdUniqueKeys generates non-minimal keys when columns are repeated in projections
     add df06e03c4e [CALCITE-6705] Allow for dialect-specific unparsing for numeric literals
     add 21982e3bad [CALCITE-6685] Support checked arithmetic
     add 8c3ba0bdff Remove IN_FENNEL operator
     add 141dfd9cfd [CALCITE-6684] Support Arrow filter pushdown conditions that have subexpressions of a decimal type
     add 22e8b0324a [CALCITE-6707] Type inference for CHR function is wrong
     add fa0d559ae8 [CALCITE-6706] Checked arithmetic does not take effect in subqueries
     add 3e8f9ea990 [CALCITE-6678] Calcite should support dual table query when db provides this feature Add comment for dummy.iq
     add 6fbf0581c8 [CALCITE-6709] Parser accepts a call to TRIM() with no arguments
     add b69b753625 Typos in SqlOperatorTest
     add c9724b6a80 [CALCITE-6712] FROM_BASE64 and PARSE_URL's return data type should always be nullable
     add 00f552e72a Typo in ArrowExtension
     add 0a96bee854 [CALCITE-6713] NVL2's return data type should be nullable if and only if at least one of the second and third parameters are nullable
     add 92cf3ddb21 Site: Reformat CONCAT_WS and REVERSE document
     add ed1a4b0e59 [CALCITE-4954] Group TEXT field failed in Elasticsearch Adapter
     add 0eb83b1dc6 [CALCITE-6688] Allow operators of SqlKind.SYMMETRICAL to be reversed
     add 84ea4be50b [CALCITE-4758] When SOME sub-query is SqlNodeList and converted to VALUES, Calcite returns incorrect result
     add c8a513b961 [CALCITE-6720] Refactor cross product logic in RelMdUniqueKeys#getPassedThroughCols using Linq4j#product
     add e2e7ce177d [CALCITE-6711] Functions whose output value can be null should return a nullable type
     add c3478b9718 [CALCITE-6721] Incorrect implementation of SqlFunction.checkedDivide
     add e440e51545 [CALCITE-6724] MockTable support for multiple (individual & composite) keys
     add c928877530 [CALCITE-6723] Type inference for ARRAY_INSERT function is incorrect
     add 4948817818 [CALCITE-6146] Target charset should be used when comparing two strings through CONVERT/TRANSLATE function during validation
     add 20cc78e5f2 [CALCITE-6715] Enhance RelFieldTrimmer to trim LogicalCorrelate nodes
     add 9cb71c0dca [CALCITE-6714] Cast literal to interval gives the wrong result if literal is casted
     add a56d069f76 [CALCITE-6221] JDBC adapter generates invalid query when the same table is joined multiple times
     add cd0b8da25f [CALCITE-6566] JDBC adapter should generate PI function with parentheses in most dialects
     add 041619f6ea [CALCITE-6726] Add translation for MOD operator in MSSQL
     add f31830c9a1 [CALCITE-6732] CHR and REPEAT function are not covered by REDSHIFT library in SqlOperatorTest
     add ea51d91d7d [CALCITE-6700] MySQL BIT_COUNT function should return result when parameter is Boolean, String, Date, Time and Timestamp types
     add e348a068a7 [CALCITE-6733] Type inferred by coercion for comparisons with decimal is too narrow
     add bd3d854cad [CALCITE-4918] Add a VARIANT data type - parser and validator
     add 2fefd69b01 [CALCITE-4918] Add a VARIANT data type - runtime support
     add 87485a9073 Implement VARIANT functions TYPEOF, VARIANTNULL; add variant.iq
     add dbf4ff87ae [CALCITE-6725] The caching mechanism key in ElasticsearchSchemaFactory is affected by the order of hosts
     add c1ca226587 [CALCITE-6737] LoptOptimizeJoinRule can not identify selfjoin on unique join keys
     add 01cfeeea8e [CALCITE-6736] Validator accepts comparisons between arrays, multisets, maps without regard to element types
     add 648a832e0b [CALCITE-6704] Limit result size of RelMdUniqueKeys handler
     add 137fed23f9 [CALCITE-6734] RelFieldTrimmer should trim Aggregate's input fields which are arguments of unused aggregate functions
     add 424f66783c [CALCITE-6735] Type coercion for comparisons does not coerce ROW types
     add 0badcce0d8 Site: Update PMC Chair
     add fae49bc06a [CALCITE-6691] QUALIFY on project references wrong columns
     add e621c331bd [CALCITE-6690] Arrow adapter support DECIMAL with precision and scale
     add 575fc1a583 [CALCITE-6665] Add isEmpty metadata to check if a relational expression returns no rows
     add b970e52254 [CALCITE-6741] The type of a comparison is nullable when either operand is nullable
     add a88b1e81ca [CALCITE-4860] In Elasticsearch adapter, support NULLS FIRST and NULLS LAST query
     add d9363a952c Revert [CALCITE-5036] `RelMetadataQuery#getPulledUpPredicates` support to analyze constant key for the operator of IS_NOT_DISTINCT_FROM
     add 47ba3d5314 [CALCITE-6742] StandardConvertletTable.convertCall loses casts from ROW comparisons
     add 3e02a4ac60 [CALCITE-6740] RexToLixTranslation can generate code with many redundant structures
     add 7352a0cba0 [CALCITE-6649] Enhance RelMdPredicates pull up predicate from PROJECT
     add ed4d9b3b99 [CALCITE-6664] Replace GREATEST, LEAST functions in Spark library with the implementation of PostgreSQL Library
     add 51eabb7572 [CALCITE-6727] Column uniqueness constrain should only apply to inner join
     add 4c70fc7017 [CALCITE-6746] Optimization rule ProjectWindowTranspose is unsound
     add 901aadbe8b [CALCITE-6730] Add CONVERT function(enabled in Oracle library)
     add 0c9d879e1a [CALCITE-6760] Support time data type in Arrow adapter
     add 05841d726c [CALCITE-6761] StarRocks generates incorrect SQL for certain units in the EXTRACT function
     add 1519afcbc9 [CALCITE-6738] Suport a UUID type natively
     add 19d3730c92 [CALCITE-6758] Update Elasticsearch adapter tutorial document
     add 657f871bc2 [CALCITE-6759] SqlToRelConverter should not remove ORDER BY in subquery if it has an OFFSET
     add 7d4135eb17 [CALCITE-6759] RelToSqlConverter returns the wrong result when Aggregate is on Sort
     add 64cec27f1e [CALCITE-6751] Reduction of CAST from string to interval is incorrect
     add d0384ce5ed [CALCITE-3772] RelFieldTrimmer incorrectly trims fields when the query includes correlated-subquery
     add c7724b46df [CALCITE-6699] Invalid unparse for Varchar in StarRocksDialect
     add c686e2e412 [CALCITE-6749] RelMdUtil#setAggChildKeys may return an incorrect result
     add 4d3a6f2321 Improve document in RelBuilder
     add 71131ab0ea [CALCITE-6762] Preserving the CAST conversion for operands in Presto
     add 274cc2d83f [CALCITE-6745] UDF without parameters cannot be validated when use default conformance
     add bb256437cd [CALCITE-6766] Move DATEADD and DATEDIFF from PostgreSQL to Redshift library
     add d6e4cc437f [CALCITE-6770] Preserve column names when casts are inserted in projects
     add 129e5cc89c Casts between time intervals do not require scaling
     add 4d9e2a4078 [CALCITE-6775] ToChar and ToTimestamp PG implementors should use translator's root instead of creating a new root expression
     add 8ec26a128a [CALCITE-6771] Convert Type from FLOAT to DOUBLE in PrestoDialect
     add fc12d05764 [CALCITE-6413] SqlValidator does not invoke TypeCoercionImpl::binaryComparisonCoercion for both NATURAL and USING join conditions
     add a549f3591e [CALCITE-6774] REPLACE function returns wrong result when search pattern is an empty string
     add 737dc1efb2 [CALCITE-6777] Conversion between UUID and BINARY produces wrong results
     add c1b9bdcd82 [CALCITE-6764] Field access from a nullable ROW should be nullable
     add 63d57c2523 [CALCITE-6779] Casts from UUID to DATE should be invalid
     add 27d733e175 [CALCITE-6782] Upgrade Cassandra to 4.1.6 and Cassandra driver to 4.18.1
     add 60953ecd9c Add Alessandro Solimando to .mailmap file
     add 5f767ddfd7 Remove unused properties in CalciteResource.properties
     add 2f096ff2ec [CALCITE-6776] Multiple expanded `IS NOT DISTINCT FROM` cannot be collapsed back
     add a601040274 Add method ImmutableBitSet.stream()
     add 7ad5a39a8f [CALCITE-6301] Following "must-filter" columns, add "bypass" columns
     add 61a3d5e9e2 [CALCITE-6769] Migrate Build Scan publication to develocity.apache.org
     add 851c267448 [CALCITE-5626] Sub-query with fully-qualified table name throws 'table not found' during validation
     add b1c09c665c [CALCITE-6754] Remove deprecated method calling in Driver
     add 891ffc41e0 [CALCITE-6744] RelMetadataQuery.getColumnOrigins should return null when column origin includes correlation variables
     add a4cfbecc4d [CALCITE-6764] Field access from a nullable ROW should be nullable (part 2)
     add 393ccd1afd [CALCITE-6778] SOME rewrite for correlated queries does not handle null values correctly
     add d336724daa [CALCITE-6785] RelToSqlConverter generate wrong sql when UNNEST has a correlate variable
     add ab8843d2f7 [CALCITE-6756] Preserving CAST of STRING operand in binary comparison for PostgreSQL
     add b852db228c [CALCITE-6780] AbstractSqlTester fails to build query for expression TRIM(string)
     add cc7b557652 Site: Add Cancai Cai as committer
     add f9cc84f35a [CALCITE-6790] Write LIMIT for fetch operations in Vertica
     add 2a89ec92be [CALCITE-2295] Correlated SubQuery with Project will generate error plan
     add 3fce658c05 [CALCITE-6786] ANY/SOME operator yields multiple rows in correlated queries
     add d83122b86e [CALCITE-6791] Search pattern during matching in REPLACE function should be case insensitive in MSSQL
     add 3113dc175c Update javadoc for the fun connect string parameter
     add 14838bbc3d [CALCITE-4561] Wrong results for plan with EnumerableHashJoin (semi) on nullable colunms
     add 28e0ab23a3 [CALCITE-6303] UNION with CTE(s) results in exception during query validation
     add c445e818f8 [CALCITE-6503] JdbcAdapter cannot push down NOT IN sub-queries
     add 6f86860a85 Enable tests in unnest.iq about [CALCITE-5127]
     add f24a3eba89 Update document for resolve in SqlValidatorScope
     add 26433fe497 [CALCITE-6794] Site Gemfile contains vulnerable ruby libraries
     add c79d6d4975 [CALCITE-6796] Convert Type from BINARY to VARBINARY in PrestoDialect
     add 5c7ead4ba7 [CALCITE-6803] Publish website: error while trying to write to /home/
     add a5c096a09a [CALCITE-5409] Implement BatchNestedLoopJoin for JDBC
     add 0fb443006d [CALCITE-6801] Linter should disallow tags such as 'Chore' in commit messages
     add 9caceac13d [CALCITE-6810] Update tests for CONVERT_TIMEZONE and CONCAT function in RedShift library
     add 55f6edb2de [CALCITE-6747] Multiple SLF4J bindings in Spark unit test
     add b901b415e1 [CALCITE-6806] Add CI action to ensure site remains buildable after changes
     add 8539f51faa [CALCITE-6805] Support hex function for Hive and Spark Library
     add f10d0cedb5 [CALCITE-6800] Enable a few existing functions to Hive library
     add 53216ad33f [CALCITE-6813] UNNEST infers incorrect nullability for the result when applied to an array that contains nullable ROW values
     add 9f531455f1 [CALCITE-6812] Support base64 and unbase64 functions for Hive
     add c456f7888b [CALCITE-6813] UNNEST infers incorrect nullability for the result when applied to an array that contains nullable ROW values
     add e59ed9537e [CALCITE-6815] Support bin function for Spark and Hive Library
     add ed66fcd26c [CALCITE-6818] Write LIMIT for fetch operations in Snowflake
     add f1c370a0cb [CALCITE-6817] Add string representation of default nulls direction for RelNode
     add 4fedf95c24 [CALCITE-6804] Anti-join with WHERE NOT EXISTS syntax has corrupted condition
     add 929d9b426b [CALCITE-6827] Build failure due to json-smart version mismatch
     add 2ddfb0eb00 [CALCITE-6821] Support crc32 function for Hive and Spark library
     add cacf36a0a1 [CALCITE-6843] Self-host Lato font on website due to ASF's content security policy
     add 71c161df81 [CALCITE-6831] Add ARRAY_SLICE function(enabled in Hive Library)
     add 5a1b15ca54 [CALCITE-6845] Self-host website images
     add f4ba90ba2c [CALCITE-6838] RelToSqlConverter should generate double parentheses when the input to Unnest is a query statement
     add dd49d9f735 [CALCITE-6819] MSSQL doesn't support TRUE/FALSE keywords in its Join predicate
     add 130c8dcacd [CALCITE-6824] Subquery in join conditions rewrite fails if referencing a column from the right-hand side table
     add 91ec8d0529 [CALCITE-6833] JDBC adapter generates invalid table alias for semi-join in UNION
     add 5f1f2fff96 [CALCITE-6839] The SUM function sometimes throws overflow exceptions due to incorrect return types
     add 0a4f00d34d [CALCITE-6832] Redundant fields/nullable entries in STRUCT serialization to JSON
     add 9a52add23e [CALCITE-6847] ClickHouse doesn't support TRUE/FALSE keywords in its Join predicate
     add 638d3c4331 [CALCITE-6856] Add JOIN test for MongoDB adapter
     add 03ffb28815 [CALCITE-6853] Nested window aggregate throws UnsupportedOperationException with the default ValidatorConfig
     add 32426043fd [CALCITE-6274] Two Elasticsearch index join return empty in any case
     add 4ee2e412d5 [CALCITE-6837] Invalid code generated for ROW_NUMBER function in Enumerable convention
     add 0a13d9905a [CALCITE-6652] RelDecorrelator can't decorrelate query with limit 1
     add a94927e9b8 [CALCITE-6844] Add all Spark array functions which also support in Hive(enable in Hive Library)
     add e7c73159ad [CALCITE-6864] ProjectAggregateMergeRule loses the Project's field names
     add 2b3484e4d5 [CALCITE-6850] ProjectRemoveRule with two Projects does not keep field names from the top one
     add 51a6ed96dc Site: Add Fanyuan Qiu as committer
     add 85f8872b7f [CALCITE-6865] Sonar analysis fails due to OOM
     add 4b6fb668ef [CALCITE-6870] The FilterToCalcRule/ProjectToCalcRule should not convert a Filter/Project to Calc when it contains Subquery
     add 1793ba79a3 Site: Add talks from Calcite Meetup February 2025
     add 91acb99b67 [CALCITE-6871] Upgrade avatica from 1.25.0 to 1.26.0
     add 0ff9fcf1e7 [CALCITE-6867] Druid Adapter transforms an SQL NOT IN filter to a Druid IN filter
     add efafa4fd40 [CALCITE-6728] Introduce new methods to lookup tables and schemas inside schemas
     add 802fce3c41 [CALCITE-6873] FilterProjectTransposeRule should not push the Filter past the Project when the Filter contains a Subquery with correlation
     add 48648b3913 [CALCITE-6874] FilterCalcMergeRule/ProjectCalcMergeRule should not merge a Filter/Project to Calc when it contains Subquery
     add ac7d25c74f [CALCITE-6788] LoptOptimizeJoinRule should be able to delegate costs to the planner
     add 569ed6b1f7 [CALCITE-6876] Druid Adapter support more functions
     add c5502965d9 [CALCITE-6879] Support APPROX_DISTINCT_COUNT for more dialects
     add 29452b34cc [CALCITE-6877] Generate LogicalProject in RelRoot.project() when mapping is not name trivial
     add 618e601b13 [CALCITE-6846] Support basic DPhyp join reorder algorithm
     add ed36338148 [CALCITE-6885] SqlToRelConverter#convertUsing should not fail if commonTypeForBinaryComparison returns null

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   (479d22b230)
            \
             N -- N -- N   refs/heads/site (ed36338148)

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:
 .github/workflows/main.yml                         |    2 +-
 .../{gradle-wrapper-validation.yml => site.yml}    |   25 +-
 .mailmap                                           |    4 +
 ...owFieldType.java => ArrowFieldTypeFactory.java} |   69 +-
 .../apache/calcite/adapter/arrow/ArrowTable.java   |   21 +-
 .../calcite/adapter/arrow/ArrowTranslator.java     |   48 +-
 .../adapter/arrow/ArrowAdapterDataTypesTest.java   |  225 +++
 .../calcite/adapter/arrow/ArrowAdapterTest.java    |  261 +++-
 .../apache/calcite/adapter/arrow/ArrowData.java    |  222 ---
 .../calcite/adapter/arrow/ArrowDataTest.java       |  433 ++++++
 .../calcite/adapter/arrow/ArrowExtension.java      |    2 +-
 babel/src/main/codegen/config.fmpp                 |   29 +-
 .../main/codegen/includes/parserPostgresImpls.ftl  |  337 +++++
 .../codegen/includes/parserPostgresqlImpls.ftl     |  264 ----
 .../babel/{postgresql => postgres}/SqlBegin.java   |   41 +-
 .../babel/{postgresql => postgres}/SqlCommit.java  |   23 +-
 .../babel/{postgresql => postgres}/SqlDiscard.java |   22 +-
 .../{postgresql => postgres}/SqlRollback.java      |   23 +-
 .../calcite/sql/babel/postgres/SqlSetOptions.java  |   72 +
 .../babel/{postgresql => postgres}/SqlShow.java    |   23 +-
 .../TransactionChainingMode.java}                  |    4 +-
 .../TransactionMode.java}                          |   21 +-
 .../{postgresql => postgres}/package-info.java     |    2 +-
 .../org/apache/calcite/test/BabelParserTest.java   |   82 +-
 .../org/apache/calcite/test/BabelQuidemTest.java   |    3 +
 babel/src/test/resources/sql/big-query.iq          |   24 +-
 babel/src/test/resources/sql/postgresql.iq         |   11 +
 babel/src/test/resources/sql/redshift.iq           |   10 +-
 babel/src/test/resources/sql/spark.iq              |  249 ++++
 bom/build.gradle.kts                               |    3 +-
 cassandra/build.gradle.kts                         |    2 +-
 core/src/main/codegen/default_config.fmpp          |    3 +
 core/src/main/codegen/templates/Parser.jj          |  105 +-
 .../main/java/org/apache/calcite/DataContext.java  |    5 +
 .../calcite/adapter/enumerable/RexImpTable.java    |  118 +-
 .../adapter/enumerable/RexToLixTranslator.java     |  107 +-
 .../adapter/jdbc/JdbcCorrelationDataContext.java   |   63 +
 .../jdbc/JdbcCorrelationDataContextBuilder.java}   |   13 +-
 .../JdbcCorrelationDataContextBuilderImpl.java     |   60 +
 .../calcite/adapter/jdbc/JdbcImplementor.java      |   52 +-
 .../org/apache/calcite/adapter/jdbc/JdbcRules.java |    2 +-
 .../adapter/jdbc/JdbcToEnumerableConverter.java    |   73 +-
 .../calcite/config/CalciteConnectionProperty.java  |    4 +-
 .../org/apache/calcite/interpreter/Bindables.java  |    5 +
 .../apache/calcite/jdbc/CalciteConnectionImpl.java |   12 +-
 .../main/java/org/apache/calcite/jdbc/Driver.java  |    7 +-
 .../apache/calcite/jdbc/JavaTypeFactoryImpl.java   |   13 +-
 .../org/apache/calcite/materialize/Lattice.java    |   23 +-
 .../apache/calcite/plan/AbstractRelOptPlanner.java |   14 +
 .../org/apache/calcite/plan/RelOptPlanner.java     |   10 +
 .../apache/calcite/plan/RelOptPredicateList.java   |   13 +-
 .../java/org/apache/calcite/plan/RelOptRules.java  |    1 +
 .../java/org/apache/calcite/plan/RelOptUtil.java   |  101 +-
 .../calcite/plan/volcano/VolcanoPlanner.java       |    4 +-
 .../calcite/prepare/CalciteCatalogReader.java      |   26 +-
 .../org/apache/calcite/rel/RelFieldCollation.java  |   11 +
 .../main/java/org/apache/calcite/rel/RelRoot.java  |    2 +-
 .../java/org/apache/calcite/rel/RelWriter.java     |    9 +
 .../java/org/apache/calcite/rel/core/SetOp.java    |    6 +-
 .../java/org/apache/calcite/rel/core/Sort.java     |    6 +-
 .../org/apache/calcite/rel/core/Uncollect.java     |   21 +-
 .../java/org/apache/calcite/rel/core/Window.java   |    3 +
 .../apache/calcite/rel/externalize/RelJson.java    |  124 +-
 .../calcite/rel/externalize/RelWriterImpl.java     |   11 +
 .../calcite/rel/metadata/RelMdColumnOrigins.java   |   23 +-
 .../rel/metadata/RelMdColumnUniqueness.java        |   42 +-
 .../calcite/rel/metadata/RelMdPredicates.java      |   15 +-
 .../calcite/rel/metadata/RelMdUniqueKeys.java      |   33 +-
 .../org/apache/calcite/rel/metadata/RelMdUtil.java |   22 +-
 .../calcite/rel/metadata/RelMetadataQuery.java     |   22 +-
 .../calcite/rel/rel2sql/RelToSqlConverter.java     |  113 +-
 .../apache/calcite/rel/rel2sql/SqlImplementor.java |   97 +-
 .../rules/AggregateProjectPullUpConstantsRule.java |    3 +-
 .../rel/rules/AggregateReduceFunctionsRule.java    |    4 +-
 .../rel/rules/AggregateUnionTransposeRule.java     |   24 +-
 .../org/apache/calcite/rel/rules/CoreRules.java    |   14 +
 .../java/org/apache/calcite/rel/rules/DpHyp.java   |  226 +++
 .../calcite/rel/rules/DphypJoinReorderRule.java    |   85 ++
 .../calcite/rel/rules/FilterCalcMergeRule.java     |    6 +-
 .../apache/calcite/rel/rules/FilterToCalcRule.java |    6 +-
 .../org/apache/calcite/rel/rules/HyperEdge.java    |   82 ++
 .../org/apache/calcite/rel/rules/HyperGraph.java   |  492 +++++++
 .../calcite/rel/rules/JoinToHyperGraphRule.java    |  187 +++
 .../org/apache/calcite/rel/rules/LongBitmap.java   |  141 ++
 .../apache/calcite/rel/rules/LoptMultiJoin.java    |    4 +-
 .../calcite/rel/rules/LoptOptimizeJoinRule.java    |   67 +-
 .../rel/rules/ProjectAggregateMergeRule.java       |    3 +-
 .../calcite/rel/rules/ProjectCalcMergeRule.java    |    6 +-
 .../calcite/rel/rules/ProjectRemoveRule.java       |    5 +-
 .../calcite/rel/rules/ProjectToCalcRule.java       |    3 +-
 .../calcite/rel/rules/ProjectToWindowRule.java     |    2 +-
 .../rel/rules/ProjectWindowTransposeRule.java      |    3 +
 .../apache/calcite/rel/rules/PruneEmptyRules.java  |    4 +-
 .../rel/rules/SortRemoveConstantKeysRule.java      |    7 +
 .../calcite/rel/rules/SortUnionTransposeRule.java  |    5 +-
 .../calcite/rel/rules/SubQueryRemoveRule.java      |  117 +-
 .../rel/rules/UnionPullUpConstantsRule.java        |    3 +-
 .../calcite/rel/type/RelDataTypeFactoryImpl.java   |    7 +
 .../java/org/apache/calcite/rex/RexBuilder.java    |   40 +-
 .../java/org/apache/calcite/rex/RexChecker.java    |   11 +-
 .../org/apache/calcite/rex/RexExecutorImpl.java    |   24 +-
 .../org/apache/calcite/rex/RexFieldAccess.java     |   12 +-
 .../java/org/apache/calcite/rex/RexLiteral.java    |   15 +
 .../java/org/apache/calcite/rex/RexProgram.java    |   10 +-
 .../java/org/apache/calcite/rex/RexShuttle.java    |    3 +-
 .../java/org/apache/calcite/rex/RexSimplify.java   |    5 +
 .../main/java/org/apache/calcite/rex/RexUtil.java  |   18 +-
 .../apache/calcite/runtime/CalciteResource.java    |   11 +-
 .../calcite/runtime/ResultSetEnumerable.java       |    4 +-
 .../org/apache/calcite/runtime/SqlFunctions.java   |  259 +++-
 .../calcite/runtime/rtti/BasicSqlTypeRtti.java     |  101 ++
 .../calcite/runtime/rtti/GenericSqlTypeRtti.java   |   83 ++
 .../calcite/runtime/rtti/RowSqlTypeRtti.java       |  102 ++
 .../runtime/rtti/RuntimeTypeInformation.java       |  254 ++++
 .../{sql/type => runtime/rtti}/package-info.java   |    4 +-
 .../calcite/runtime/variant/VariantNonNull.java    |  457 ++++++
 .../calcite/runtime/variant/VariantNull.java       |   64 +
 .../calcite/runtime/variant/VariantSqlNull.java    |   54 +-
 .../calcite/runtime/variant/VariantSqlValue.java   |   58 +
 .../calcite/runtime/variant/VariantValue.java      |   44 +
 .../calcite/runtime/variant}/package-info.java     |    4 +-
 .../main/java/org/apache/calcite/sql/SqlAlter.java |    2 +-
 .../org/apache/calcite/sql/SqlBasicFunction.java   |    6 +-
 .../java/org/apache/calcite/sql/SqlDialect.java    |   38 +
 .../main/java/org/apache/calcite/sql/SqlKind.java  |   17 +-
 .../org/apache/calcite/sql/SqlLateralOperator.java |    2 +-
 .../java/org/apache/calcite/sql/SqlLiteral.java    |   13 +-
 .../org/apache/calcite/sql/SqlNumericLiteral.java  |    2 +-
 .../java/org/apache/calcite/sql/SqlOperator.java   |   40 +-
 .../java/org/apache/calcite/sql/SqlSetOption.java  |   68 +-
 .../java/org/apache/calcite/sql/SqlSyntax.java     |   17 +
 .../org/apache/calcite/sql/SqlUnknownLiteral.java  |    2 +
 .../org/apache/calcite/sql/SqlUnnestOperator.java  |   22 +-
 .../main/java/org/apache/calcite/sql/SqlUtil.java  |    4 +-
 ...{SqlValuesOperator.java => SqlUuidLiteral.java} |   43 +-
 .../calcite/sql/dialect/BigQuerySqlDialect.java    |   14 +
 .../calcite/sql/dialect/ClickHouseSqlDialect.java  |   23 +
 .../apache/calcite/sql/dialect/HiveSqlDialect.java |    9 +-
 .../calcite/sql/dialect/MssqlSqlDialect.java       |   27 +-
 .../calcite/sql/dialect/MysqlSqlDialect.java       |   21 +
 .../calcite/sql/dialect/OracleSqlDialect.java      |   81 +-
 .../calcite/sql/dialect/PhoenixSqlDialect.java     |    4 +
 .../calcite/sql/dialect/PostgresqlSqlDialect.java  |   54 +
 .../calcite/sql/dialect/PrestoSqlDialect.java      |   37 +-
 .../calcite/sql/dialect/SnowflakeSqlDialect.java   |    7 +
 .../calcite/sql/dialect/StarRocksSqlDialect.java   |   30 +
 .../calcite/sql/dialect/VerticaSqlDialect.java     |    9 +
 .../apache/calcite/sql/fun/SqlBasicOperator.java   |   63 +
 ...rageSizeFunction.java => SqlCallFactories.java} |   28 +-
 .../CollectScope.java => fun/SqlCallFactory.java}  |   48 +-
 .../apache/calcite/sql/fun/SqlCastFunction.java    |   13 +
 .../apache/calcite/sql/fun/SqlConvertFunction.java |   34 +-
 .../org/apache/calcite/sql/fun/SqlDotOperator.java |    6 +
 .../apache/calcite/sql/fun/SqlItemOperator.java    |    8 +-
 .../calcite/sql/fun/SqlLibraryOperators.java       |  225 ++-
 .../calcite/sql/fun/SqlOracleConvertFunction.java  |  123 ++
 .../calcite/sql/fun/SqlStdOperatorTable.java       |   48 +-
 .../calcite/sql/fun/SqlTranslateFunction.java      |   41 +
 .../apache/calcite/sql/parser/SqlParserUtil.java   |    7 +
 .../sql/type/CompositeOperandTypeChecker.java      |   10 +
 .../org/apache/calcite/sql/type/OperandTypes.java  |    9 +
 .../org/apache/calcite/sql/type/ReturnTypes.java   |   27 +
 .../calcite/sql/type/SetopOperandTypeChecker.java  |   23 +-
 .../calcite/sql/type/SqlTypeAssignmentRule.java    |    3 +
 .../calcite/sql/type/SqlTypeCoercionRule.java      |   17 +-
 .../org/apache/calcite/sql/type/SqlTypeFamily.java |   11 +
 .../org/apache/calcite/sql/type/SqlTypeName.java   |   10 +-
 .../apache/calcite/sql/type/SqlTypeTransforms.java |   24 +
 .../org/apache/calcite/sql/type/SqlTypeUtil.java   |   62 +-
 .../org/apache/calcite/sql/util/SqlVisitor.java    |    7 +
 .../calcite/sql/validate/AbstractNamespace.java    |   15 +-
 .../calcite/sql/validate/FilterRequirement.java    |  135 ++
 .../calcite/sql/validate/IdentifierNamespace.java  |    2 +-
 .../org/apache/calcite/sql/validate/ListScope.java |    2 +
 .../apache/calcite/sql/validate/SemanticTable.java |   12 +
 .../sql/validate/SqlAbstractConformance.java       |    8 +
 .../calcite/sql/validate/SqlConformance.java       |   39 +
 .../calcite/sql/validate/SqlConformanceEnum.java   |   23 +
 .../sql/validate/SqlDelegatingConformance.java     |    7 +
 .../sql/validate/SqlUserDefinedFunction.java       |   22 +-
 .../sql/validate/SqlUserDefinedTableFunction.java  |    3 +-
 .../calcite/sql/validate/SqlValidatorImpl.java     |  354 +++--
 .../sql/validate/SqlValidatorNamespace.java        |   11 +-
 .../calcite/sql/validate/SqlValidatorScope.java    |    2 +-
 .../calcite/sql/validate/TableNamespace.java       |   22 +-
 .../calcite/sql/validate/WithItemNamespace.java    |    2 +-
 .../apache/calcite/sql/validate/WithNamespace.java |    2 +-
 .../validate/implicit/AbstractTypeCoercion.java    |  170 ++-
 .../org/apache/calcite/sql2rel/AggConverter.java   |    2 +-
 .../apache/calcite/sql2rel/ConvertToChecked.java   |   15 +-
 .../apache/calcite/sql2rel/RelDecorrelator.java    |  387 +++--
 .../apache/calcite/sql2rel/RelFieldTrimmer.java    |  127 +-
 .../RexRewritingRelShuttle.java}                   |   22 +-
 .../calcite/sql2rel/SqlNodeToRexConverterImpl.java |    3 +
 .../apache/calcite/sql2rel/SqlToRelConverter.java  |  473 +++----
 .../calcite/sql2rel/StandardConvertletTable.java   |  119 +-
 .../java/org/apache/calcite/tools/RelBuilder.java  |   25 +-
 .../src/main/java/org/apache/calcite/util/Bug.java |   12 +
 .../org/apache/calcite/util/BuiltInMethod.java     |   28 +-
 .../org/apache/calcite/util/ImmutableBitSet.java   |   18 +-
 .../java/org/apache/calcite/util/NlsString.java    |   21 +
 .../apache/calcite/util/PartiallyOrderedSet.java   |   16 +
 .../apache/calcite/util/RelToSqlConverterUtil.java |   15 +
 .../main/java/org/apache/calcite/util/Util.java    |    2 +-
 .../org/apache/calcite/util/mapping/Mappings.java  |   33 +-
 .../calcite/runtime/CalciteResource.properties     |    9 +-
 .../adapter/enumerable/CodeGeneratorTest.java      |  100 ++
 .../calcite/jdbc/CalciteRemoteDriverTest.java      |    2 +-
 .../calcite/materialize/LatticeSuggesterTest.java  |  102 +-
 .../org/apache/calcite/plan/RelOptUtilTest.java    |  255 ++++
 .../org/apache/calcite/plan/RelWriterTest.java     |   84 +-
 .../calcite/rel/externalize/RelJsonTest.java       |   53 +
 .../apache/calcite/rel/metadata/RelMdUtilTest.java |   42 +
 .../rel/rel2sql/RelToSqlConverterStructsTest.java  |    4 +-
 .../calcite/rel/rel2sql/RelToSqlConverterTest.java |  870 ++++++++++--
 .../org/apache/calcite/rex/RexBuilderTest.java     |   83 ++
 .../org/apache/calcite/rex/RexExecutorTest.java    |   31 +-
 .../org/apache/calcite/rex/RexNormalizeTest.java   |    8 +
 .../apache/calcite/rex/RexProgramBuilderBase.java  |    8 +
 .../org/apache/calcite/rex/RexProgramTest.java     |  136 ++
 .../calcite/sql/SqlSetOptionOperatorTest.java      |    2 +-
 .../apache/calcite/sql/test/SqlAdvisorTest.java    |    1 +
 .../calcite/sql2rel/RelDecorrelatorTest.java       |   87 ++
 .../calcite/sql2rel/RelFieldTrimmerTest.java       |  176 +++
 .../org/apache/calcite/test/CoreQuidemTest.java    |   28 +
 .../org/apache/calcite/test/HepPlannerTest.java    |    2 +-
 .../org/apache/calcite/test/JdbcAdapterTest.java   |  165 ++-
 .../java/org/apache/calcite/test/JdbcTest.java     |  188 ++-
 .../java/org/apache/calcite/test/LintTest.java     |    3 +
 .../apache/calcite/test/ReflectiveSchemaTest.java  |   18 +-
 .../org/apache/calcite/test/RelBuilderTest.java    |   95 +-
 .../org/apache/calcite/test/RelMetadataTest.java   |  214 ++-
 .../org/apache/calcite/test/RelOptRulesTest.java   |  631 ++++++++-
 .../apache/calcite/test/ScannableTableTest.java    |    7 +-
 .../org/apache/calcite/test/SqlFunctionsTest.java  |   49 +-
 .../apache/calcite/test/SqlToRelConverterTest.java |  194 ++-
 .../org/apache/calcite/test/SqlValidatorTest.java  |  696 ++++++++-
 .../java/org/apache/calcite/test/StreamTest.java   |    2 +-
 .../apache/calcite/test/TableInRootSchemaTest.java |   14 +
 .../calcite/test/TypeCoercionConverterTest.java    |   20 +
 .../org/apache/calcite/test/TypeCoercionTest.java  |   72 +-
 .../test/java/org/apache/calcite/test/UdfTest.java |   52 +-
 .../test/enumerable/EnumerableCalcTest.java        |   14 +
 .../test/enumerable/EnumerableHashJoinTest.java    |   19 +-
 .../java/org/apache/calcite/tools/PlannerTest.java |    5 -
 .../apache/calcite/util/ImmutableBitSetTest.java   |   21 +
 .../calcite/util/PartiallyOrderedSetTest.java      |   27 +
 .../java/org/apache/calcite/util/RangeSetTest.java |   46 +-
 .../apache/calcite/rel/externalize/RelJsonTest.xml |   46 +-
 .../org/apache/calcite/test/HepPlannerTest.xml     |   30 +-
 .../org/apache/calcite/test/RelOptRulesTest.xml    | 1394 +++++++++++++++++-
 .../apache/calcite/test/SqlToRelConverterTest.xml  |  339 ++++-
 .../calcite/test/TypeCoercionConverterTest.xml     |   62 +-
 core/src/test/resources/sql/agg.iq                 |   66 +-
 core/src/test/resources/sql/asof.iq                |   16 +
 core/src/test/resources/sql/conditions.iq          |   31 +-
 .../sql/{lambda.iq => dual-table-query.iq}         |   70 +-
 core/src/test/resources/sql/dummy.iq               |    1 +
 core/src/test/resources/sql/functions.iq           |  204 +++
 core/src/test/resources/sql/misc.iq                |  234 +++
 core/src/test/resources/sql/operator.iq            |   10 +
 core/src/test/resources/sql/qualify.iq             |   31 +
 core/src/test/resources/sql/set-op.iq              |   13 +
 core/src/test/resources/sql/some.iq                |  121 ++
 core/src/test/resources/sql/sub-query.iq           | 1174 ++++++++++++---
 core/src/test/resources/sql/unnest.iq              |   13 +-
 core/src/test/resources/sql/variant.iq             |  202 +++
 core/src/test/resources/sql/winagg.iq              |    2 +-
 .../calcite/adapter/druid/DruidJsonFilter.java     |    3 +-
 .../apache/calcite/adapter/druid/DruidQuery.java   |   13 +-
 .../adapter/druid/DruidQueryFilterTest.java        |   24 +
 .../org/apache/calcite/test/DruidAdapter2IT.java   |   33 +-
 .../org/apache/calcite/test/DruidAdapterIT.java    |   57 +-
 .../adapter/elasticsearch/ElasticsearchMethod.java |    1 +
 .../adapter/elasticsearch/ElasticsearchRel.java    |   12 +
 .../adapter/elasticsearch/ElasticsearchRules.java  |    3 +-
 .../elasticsearch/ElasticsearchSchemaFactory.java  |   14 +-
 .../adapter/elasticsearch/ElasticsearchSort.java   |    2 +
 .../adapter/elasticsearch/ElasticsearchTable.java  |   19 +-
 .../ElasticsearchToEnumerableConverter.java        |    4 +-
 ...gationTest.java => AggregationAndSortTest.java} |  142 +-
 .../elasticsearch/ElasticSearchAdapterTest.java    |   50 +-
 .../elasticsearch/EmbeddedElasticsearchPolicy.java |    7 +-
 .../calcite/adapter/elasticsearch/JoinTest.java    |  120 ++
 .../test/java/org/apache/calcite/test/CsvTest.java |   15 +
 example/csv/src/test/resources/bug/NUMBERS.csv     |    6 +
 .../calcite/adapter/geode/rel/GeodeZipsTest.java   |    2 +-
 gradle.properties                                  |   11 +-
 .../apache/calcite/adapter/innodb/InnodbRules.java |    5 +-
 .../innodb/InnodbToEnumerableConverter.java        |    3 +-
 .../calcite/adapter/innodb/InnodbAdapterTest.java  |    7 +-
 .../calcite/adapter/kafka/KafkaAdapterTest.java    |    2 +-
 .../calcite/adapter/mongodb/MongoEnumerator.java   |   90 +-
 .../calcite/adapter/mongodb/MongoAdapterTest.java  |  125 +-
 .../calcite/piglet/PigUserDefinedFunction.java     |    3 +-
 .../java/org/apache/calcite/test/PigRelOpTest.java |   29 +-
 .../calcite/chinook/CalciteConnectionProvider.java |    1 +
 server/src/test/resources/sql/materialized_view.iq |   24 +-
 server/src/test/resources/sql/table_as.iq          |   26 +-
 settings.gradle.kts                                |    2 +-
 site/_docs/babel_reference.md                      |  139 ++
 site/_docs/elasticsearch_adapter.md                |   21 +-
 site/_docs/index.md                                |    4 +-
 site/_docs/reference.md                            |  188 ++-
 spark/build.gradle.kts                             |    2 +
 .../org/apache/calcite/test/SparkAdapterTest.java  |   10 +-
 .../apache/calcite/sql/parser/SqlParserTest.java   |   29 +-
 .../apache/calcite/sql/test/AbstractSqlTester.java |    5 +
 .../java/org/apache/calcite/sql/test/SqlTests.java |    9 +
 .../org/apache/calcite/test/CalciteAssert.java     |   27 +
 .../org/apache/calcite/test/CustomTypeSystems.java |   32 +
 .../org/apache/calcite/test/DiffRepository.java    |   10 +-
 .../java/org/apache/calcite/test/Matchers.java     |   12 +
 .../apache/calcite/test/MockSqlOperatorTable.java  |   22 +
 .../apache/calcite/test/RelMetadataFixture.java    |   11 +
 .../calcite/test/SqlOperatorFixtureImpl.java       |    2 +-
 .../org/apache/calcite/test/SqlOperatorTest.java   | 1494 ++++++++++++++------
 .../apache/calcite/test/SqlValidatorFixture.java   |   15 +
 .../calcite/test/catalog/MockCatalogReader.java    |   61 +-
 .../test/catalog/MustFilterMockCatalogReader.java  |    9 +-
 .../test/schemata/catchall/CatchallSchema.java     |   11 +-
 .../main/java/org/apache/calcite/util/Smalls.java  |    9 +
 .../java/org/apache/calcite/util/TestUtil.java     |    1 +
 .../apache/calcite/test/DiffRepositoryTest.java    |   34 +-
 .../org/apache/calcite/test/MockTableTest.java     |  104 ++
 .../org/apache/calcite/test/DiffRepositoryTest.xml |   25 +-
 326 files changed, 19052 insertions(+), 3465 deletions(-)
 copy .github/workflows/{gradle-wrapper-validation.yml => site.yml} (65%)
 rename arrow/src/main/java/org/apache/calcite/adapter/arrow/{ArrowFieldType.java => ArrowFieldTypeFactory.java} (57%)
 create mode 100644 arrow/src/test/java/org/apache/calcite/adapter/arrow/ArrowAdapterDataTypesTest.java
 delete mode 100644 arrow/src/test/java/org/apache/calcite/adapter/arrow/ArrowData.java
 create mode 100644 arrow/src/test/java/org/apache/calcite/adapter/arrow/ArrowDataTest.java
 create mode 100644 babel/src/main/codegen/includes/parserPostgresImpls.ftl
 delete mode 100644 babel/src/main/codegen/includes/parserPostgresqlImpls.ftl
 rename babel/src/main/java/org/apache/calcite/sql/babel/{postgresql => postgres}/SqlBegin.java (62%)
 rename babel/src/main/java/org/apache/calcite/sql/babel/{postgresql => postgres}/SqlCommit.java (71%)
 rename babel/src/main/java/org/apache/calcite/sql/babel/{postgresql => postgres}/SqlDiscard.java (72%)
 rename babel/src/main/java/org/apache/calcite/sql/babel/{postgresql => postgres}/SqlRollback.java (71%)
 create mode 100644 babel/src/main/java/org/apache/calcite/sql/babel/postgres/SqlSetOptions.java
 rename babel/src/main/java/org/apache/calcite/sql/babel/{postgresql => postgres}/SqlShow.java (72%)
 copy babel/src/main/java/org/apache/calcite/sql/babel/{postgresql/AndChain.java => postgres/TransactionChainingMode.java} (92%)
 rename babel/src/main/java/org/apache/calcite/sql/babel/{postgresql/AndChain.java => postgres/TransactionMode.java} (67%)
 rename babel/src/main/java/org/apache/calcite/sql/babel/{postgresql => postgres}/package-info.java (94%)
 create mode 100644 core/src/main/java/org/apache/calcite/adapter/jdbc/JdbcCorrelationDataContext.java
 copy core/src/main/java/org/apache/calcite/{runtime/Typed.java => adapter/jdbc/JdbcCorrelationDataContextBuilder.java} (71%)
 create mode 100644 core/src/main/java/org/apache/calcite/adapter/jdbc/JdbcCorrelationDataContextBuilderImpl.java
 create mode 100644 core/src/main/java/org/apache/calcite/rel/rules/DpHyp.java
 create mode 100644 core/src/main/java/org/apache/calcite/rel/rules/DphypJoinReorderRule.java
 create mode 100644 core/src/main/java/org/apache/calcite/rel/rules/HyperEdge.java
 create mode 100644 core/src/main/java/org/apache/calcite/rel/rules/HyperGraph.java
 create mode 100644 core/src/main/java/org/apache/calcite/rel/rules/JoinToHyperGraphRule.java
 create mode 100644 core/src/main/java/org/apache/calcite/rel/rules/LongBitmap.java
 create mode 100644 core/src/main/java/org/apache/calcite/runtime/rtti/BasicSqlTypeRtti.java
 create mode 100644 core/src/main/java/org/apache/calcite/runtime/rtti/GenericSqlTypeRtti.java
 create mode 100644 core/src/main/java/org/apache/calcite/runtime/rtti/RowSqlTypeRtti.java
 create mode 100644 core/src/main/java/org/apache/calcite/runtime/rtti/RuntimeTypeInformation.java
 copy core/src/main/java/org/apache/calcite/{sql/type => runtime/rtti}/package-info.java (90%)
 create mode 100644 core/src/main/java/org/apache/calcite/runtime/variant/VariantNonNull.java
 create mode 100644 core/src/main/java/org/apache/calcite/runtime/variant/VariantNull.java
 copy linq4j/src/main/java/org/apache/calcite/linq4j/tree/CatchBlock.java => core/src/main/java/org/apache/calcite/runtime/variant/VariantSqlNull.java (60%)
 create mode 100644 core/src/main/java/org/apache/calcite/runtime/variant/VariantSqlValue.java
 create mode 100644 core/src/main/java/org/apache/calcite/runtime/variant/VariantValue.java
 copy {arrow/src/main/java/org/apache/calcite/adapter/arrow => core/src/main/java/org/apache/calcite/runtime/variant}/package-info.java (88%)
 copy core/src/main/java/org/apache/calcite/sql/{SqlValuesOperator.java => SqlUuidLiteral.java} (55%)
 create mode 100644 core/src/main/java/org/apache/calcite/sql/fun/SqlBasicOperator.java
 copy core/src/main/java/org/apache/calcite/sql/fun/{SqlJsonStorageSizeFunction.java => SqlCallFactories.java} (57%)
 copy core/src/main/java/org/apache/calcite/sql/{validate/CollectScope.java => fun/SqlCallFactory.java} (52%)
 create mode 100644 core/src/main/java/org/apache/calcite/sql/fun/SqlOracleConvertFunction.java
 create mode 100644 core/src/main/java/org/apache/calcite/sql/validate/FilterRequirement.java
 copy core/src/main/java/org/apache/calcite/{rel/stream/LogicalChi.java => sql2rel/RexRewritingRelShuttle.java} (62%)
 create mode 100644 core/src/test/java/org/apache/calcite/adapter/enumerable/CodeGeneratorTest.java
 create mode 100644 core/src/test/java/org/apache/calcite/rel/externalize/RelJsonTest.java
 copy kafka/src/test/resources/log4j2-test.xml => core/src/test/resources/org/apache/calcite/rel/externalize/RelJsonTest.xml (60%)
 copy core/src/test/resources/sql/{lambda.iq => dual-table-query.iq} (52%)
 create mode 100644 core/src/test/resources/sql/variant.iq
 rename elasticsearch/src/test/java/org/apache/calcite/adapter/elasticsearch/{AggregationTest.java => AggregationAndSortTest.java} (75%)
 create mode 100644 elasticsearch/src/test/java/org/apache/calcite/adapter/elasticsearch/JoinTest.java
 create mode 100644 example/csv/src/test/resources/bug/NUMBERS.csv
 create mode 100644 site/_docs/babel_reference.md
 copy core/src/test/java/org/apache/calcite/test/CalciteResourceTest.java => testkit/src/test/java/org/apache/calcite/test/DiffRepositoryTest.java (54%)
 create mode 100644 testkit/src/test/java/org/apache/calcite/test/MockTableTest.java
 copy elasticsearch/src/test/resources/log4j2-test.xml => testkit/src/test/resources/org/apache/calcite/test/DiffRepositoryTest.xml (68%)