[
https://issues.apache.org/jira/browse/CALCITE-6380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17848419#comment-17848419
]
Caican Cai commented on CALCITE-6380:
-------------------------------------
[~julianhyde] As [~eveywu] mentioned. Different systems have different
interception methods, Most systems return 1.3, such as MySQL, PostgreSQL, Hive,
and Spark, but ClickHouse returns 1.2. What kind of rules should Calcite
maintain
> Casts from INTERVAL and STRING to DECIMAL are incorrect
> -------------------------------------------------------
>
> Key: CALCITE-6380
> URL: https://issues.apache.org/jira/browse/CALCITE-6380
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.36.0
> Reporter: Mihai Budiu
> Priority: Minor
> Labels: pull-request-available
>
> This is a follow-up from [CALCITE-6322], which is about casts from numeric
> types to DECIMAL values. There are two tests in SqlOperatorTest which are
> disabled due to this bug:
> - testCastStringToDecimal
> - testCastIntervalToNumeric
--
This message was sent by Atlassian Jira
(v8.20.10#820010)