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 Myskov (Jira)" <ji...@apache.org> on 2024/06/12 12:33:00 UTC

[jira] [Assigned] (IGNITE-22276) Catalog API allows an index without columns

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

Maksim Myskov reassigned IGNITE-22276:
--------------------------------------

    Assignee: Maksim Myskov

> 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
>            Assignee: Maksim Myskov
>            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)