chenjunjie created CALCITE-7314:
-----------------------------------

             Summary: SQL type NUMERIC is not equivalent to DECIMAL type in Java
                 Key: CALCITE-7314
                 URL: https://issues.apache.org/jira/browse/CALCITE-7314
             Project: Calcite
          Issue Type: Bug
          Components: babel
    Affects Versions: 1.39.0
            Reporter: chenjunjie
             Fix For: 1.42.0


The SQL:
{code:java}
SELECT x::numeric FROM (VALUES ('1', '2')) as tbl(x, y) {code}
Calcite JDBC should be return column Type:
{code:java}
2  //It represents NUMERIC in the Types.java file {code}
But is:
{code:java}
3  //It represents DECIMAL in the Types.java file  {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to