You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Ada Wong (Jira)" <ji...@apache.org> on 2021/12/23 11:44:00 UTC
[jira] [Updated] (CALCITE-4959) Throw a error when precision is greater than maxPrecision
[ https://issues.apache.org/jira/browse/CALCITE-4959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ada Wong updated CALCITE-4959:
------------------------------
Description:
Could we throw a error when precision > maxPrecision in SqlTypeFactoryImpl#createSqlType, rather than force override.
was:
SqlTypeFactoryImpl#createSqlType(SqlTypeName typeName, int precision, int scale)
Could we throw a error when
precision > maxPrecision
[TypeName|http://dict.youdao.com/search?q=TypeName&keyfrom=chrome.extension] [详细|http://dict.youdao.com/search?q=TypeName&keyfrom=chrome.extension]X
网络释义
[TypeName:|http://dict.youdao.com/search?q=TypeName&keyfrom=chrome.extension&le=eng] 函数返回值如下
[Camel typeName:|http://dict.youdao.com/search?q=Camel%20typeName&keyfrom=chrome.extension&le=eng] 参数
[public String TypeName:|http://dict.youdao.com/search?q=public%20String%20TypeName&keyfrom=chrome.extension&le=eng] 类型名称
> Throw a error when precision is greater than maxPrecision
> ---------------------------------------------------------
>
> Key: CALCITE-4959
> URL: https://issues.apache.org/jira/browse/CALCITE-4959
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.28.0
> Reporter: Ada Wong
> Priority: Major
>
> Could we throw a error when precision > maxPrecision in SqlTypeFactoryImpl#createSqlType, rather than force override.
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)