commit | 692b8f0886a25538e010d1a8ae5efe89f80d89e9 | [log] [tgz] |
---|---|---|
author | Julian Hyde <jhyde@apache.org> | Mon Mar 14 20:54:04 2022 -0700 |
committer | liyafan82 <liya.fan03@gmail.com> | Wed Mar 16 09:35:20 2022 +0800 |
tree | 1e6e255c06c5e179361e0e4468bba2d0cb85b59d | |
parent | dcbc493bf699d961427952c5efc047b76d859096 [diff] |
[CALCITE-5040] SqlTypeFactoryTest.testUnknownCreateWithNullabilityTypeConsistency fails [CALCITE-4872] added an UNKNOWN type that was implemented in some places by class SqlTypeFactoryImpl.UnknownSqlType, but in others by BasicSqlType. This would cause SqlTypeFactoryTest.testUnknownCreateWithNullabilityTypeConsistency to succeed or fail non-deterministically, depending on which of the above had made it into the map of canonical type instances. This commit solves the problem by removing class SqlTypeFactoryImpl.UnknownSqlType and always using BasicSqlType.
Apache Calcite is a dynamic data management framework.
It contains many of the pieces that comprise a typical database management system but omits the storage primitives. It provides an industry standard SQL parser and validator, a customisable optimizer with pluggable rules and cost functions, logical and physical algebraic operators, various transformation algorithms from SQL to algebra (and the opposite), and many adapters for executing SQL queries over Cassandra, Druid, Elasticsearch, MongoDB, Kafka, and others, with minimal configuration.
For more details, see the home page.