commit | ffa22f7e8b94fce1e7c297404453d13f959fd646 | [log] [tgz] |
---|---|---|
author | Zoltan Haindrich <kirk@rxd.hu> | Sun May 10 09:09:38 2020 +0000 |
committer | Zoltan Haindrich <kirk@rxd.hu> | Thu May 14 09:52:48 2020 +0200 |
tree | 29e181d4d844c98f868ef54b6a1b612ca1f5b4ff | |
parent | 2e30293af7373b6c5fbcc5fa6505b49df2fba000 [diff] |
[CALCITE-3979] Simplification might have removed CAST expression(s) incorrectly ReduceExpressionsRule might have removed cast expressions and inadvertly changed the type of some subexpressions. In case the rewriting have at some point arrived at: CAST(CAST(X,T),T) AND <(CAST(X,T),N)
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.