[
https://issues.apache.org/jira/browse/IGNITE-20370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Evgeny Stanilovsky resolved IGNITE-20370.
-----------------------------------------
Resolution: Invalid
> Sql. Unexpected error while create different indexes on common columns
> ----------------------------------------------------------------------
>
> Key: IGNITE-20370
> URL: https://issues.apache.org/jira/browse/IGNITE-20370
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Affects Versions: 3.0.0-beta1
> Reporter: Evgeny Stanilovsky
> Priority: Major
> Labels: ignite-3
>
> I just change a bit test: ItSqlAsynchronousApiTest#ddl
> and it still passed.
> {code:java}
> checkDdl(true, ses, "CREATE INDEX TEST_IDX1 ON TEST using
> tree(VAL0)");
> checkDdl(true, ses, "CREATE INDEX TEST_IDX2 ON TEST using
> hash(VAL0)");
> checkDdl(true, ses, "CREATE INDEX TEST_IDX3 ON TEST(ID, VAL0, VAL1)");
> checkSqlError(
> Index.INVALID_INDEX_DEFINITION_ERR,
> "Can't create index on duplicate columns: VAL0, VAL0",
> ses,
> "CREATE INDEX TEST_IDX4 ON TEST(VAL0, VAL0)"
> );
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)