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

Pavel Tupitsyn updated IGNITE-22276:
------------------------------------
    Description: 
This code produces a SQL parse error:

{code:java}
           var person2Table = ignite.catalog().createTable(
                   TableDefinition.builder("Person2")
                           .key(PersonKey.class)
                           .value(PersonValue.class)
                           .index("height", IndexType.DEFAULT)
                           .zone("Zone2")
                           .build()
           ).execute();
{code}

> Catalog API allows an index without columns
> -------------------------------------------
>
>                 Key: IGNITE-22276
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22276
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Pavel Tupitsyn
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>
> This code produces a SQL parse error:
> {code:java}
>            var person2Table = ignite.catalog().createTable(
>                    TableDefinition.builder("Person2")
>                            .key(PersonKey.class)
>                            .value(PersonValue.class)
>                            .index("height", IndexType.DEFAULT)
>                            .zone("Zone2")
>                            .build()
>            ).execute();
> {code}



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

Reply via email to