You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2021/09/10 09:54:00 UTC

[jira] [Commented] (IGNITE-15484) SQL allows "create index" query with duplicated columns

    [ https://issues.apache.org/jira/browse/IGNITE-15484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17413080#comment-17413080 ] 

Ignite TC Bot commented on IGNITE-15484:
----------------------------------------

{panel:title=Branch: [pull/9397/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/9397/head] Base: [master] : New Tests (2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Queries 1{color} [[tests 2|https://ci.ignite.apache.org/viewLog.html?buildId=6172898]]
* {color:#013220}IgniteBinaryCacheQueryTestSuite: BasicIndexMultinodeTest.testFailToCreateSqlIndexWithDuplicatedColumn - PASSED{color}
* {color:#013220}IgniteBinaryCacheQueryTestSuite: BasicIndexTest.testFailToCreateSqlIndexWithDuplicatedColumn - PASSED{color}

{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=6172919&amp;buildTypeId=IgniteTests24Java8_RunAll]

> SQL allows "create index" query with duplicated columns
> -------------------------------------------------------
>
>                 Key: IGNITE-15484
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15484
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Maksim Timonin
>            Assignee: Maksim Timonin
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> This query should forbid such queries and raise an exception:
> "create index IDX on table (id ASC, id DESC);"
> Now it creates index last appearance of the field, in this case (id DESC).
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)