[
https://issues.apache.org/jira/browse/IGNITE-22276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17856387#comment-17856387
]
Pavel Tupitsyn commented on IGNITE-22276:
-----------------------------------------
Merged to main:
https://github.com/apache/ignite-3/commit/d7141dfebc14f21bde2b3b5d4fd03087812a90a4
> 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
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)