You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maksim Zhuravkov (Jira)" <ji...@apache.org> on 2023/02/06 10:05:00 UTC

[jira] [Updated] (IGNITE-18655) Sql. CREATE TABLE with a column of a decimal type without parameters does not fail

     [ https://issues.apache.org/jira/browse/IGNITE-18655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maksim Zhuravkov updated IGNITE-18655:
--------------------------------------
    Description: 
{code:java}
statement error
CREATE TABLE decimals_without_params(d DECIMAL); {code}
{code:java}
Not expected result at: (test_decimal_ops.test:9). Statement: CREATE TABLE decimals_without_params(d DECIMAL);. Error: an instance of java.lang.String ==> Expected java.lang.Throwable to be thrown, but nothing was thrown
 
{code}
But this query should work and create a table with column with default values for precision and scale.

  was:
{code:java}
statement error
CREATE TABLE decimals_without_params(d DECIMAL); {code}
{code:java}
Not expected result at: (test_decimal_ops.test:9). Statement: CREATE TABLE decimals_without_params(d DECIMAL);. Error: an instance of java.lang.String ==> Expected java.lang.Throwable to be thrown, but nothing was thrown
 
{code}


> Sql. CREATE TABLE with a column of a decimal type without parameters does not fail
> ----------------------------------------------------------------------------------
>
>                 Key: IGNITE-18655
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18655
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Maksim Zhuravkov
>            Priority: Minor
>              Labels: calcite3-required, ignite-3
>             Fix For: 3.0.0-beta2
>
>
> {code:java}
> statement error
> CREATE TABLE decimals_without_params(d DECIMAL); {code}
> {code:java}
> Not expected result at: (test_decimal_ops.test:9). Statement: CREATE TABLE decimals_without_params(d DECIMAL);. Error: an instance of java.lang.String ==> Expected java.lang.Throwable to be thrown, but nothing was thrown
>  
> {code}
> But this query should work and create a table with column with default values for precision and scale.



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