commit | d934d121077f271331810827ce9cf7ccb5d4768e | [log] [tgz] |
---|---|---|
author | wellfengzhu <wellfengzhu@gmail.com> | Wed Dec 04 18:58:45 2019 +0800 |
committer | yuzhao.cyz <yuzhao.cyz@gmail.com> | Sat Dec 07 13:54:06 2019 +0800 |
tree | 37de7242fadc3dc4feecea3d31ff313ff71f5b56 | |
parent | 1a3cb8c369b8bf0f7b42043609f60bc00717fad2 [diff] |
[CALCITE-3565] Explicitly cast assignable operand types to decimal for udf (DonnyZone) During query execution, some of the assignable types need explicit conversion to the target types. i.e., Decimal expression should be converted to Integer before it is assigned to the Integer type Lvalue (In Java, Decimal can not be assigned to Integer directly). close apache/calcite#1628
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.