commit | 11c540686a47765f8c6232058ec9eb1f418e4efa | [log] [tgz] |
---|---|---|
author | Yingyu Wang <yingyu.wang@dremio.com> | Wed May 11 11:28:22 2022 -0400 |
committer | Mihai Budiu <mbudiu@feldera.com> | Wed Dec 27 10:55:12 2023 -0800 |
tree | e2f5e6a4951aca7e140b7c097663d78f99491689 | |
parent | a7cc2bb9abd83cea1dea5a7ad29ef673c916bab6 [diff] |
[CALCITE-5130] AssertionError: "Conversion to relational algebra failed to preserve datatypes" when union VARCHAR literal and CAST(null AS INTEGER) In AbstractTypeCoercion#promoteToVarChar() return resultType with nullability if any of the types being promoted are nullable.
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.
The project uses JIRA for issue tracking. For further information, please see the JIRA accounts guide.