ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yury Gerzhedovich (Jira)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-12277) Index usage is not applicable for mixed IN and EQUALS queries.
Date Fri, 01 Nov 2019 08:03:00 GMT

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

Yury Gerzhedovich commented on IGNITE-12277:
--------------------------------------------

[~ipavlukhin], could you please check and merge it.

> Index usage is not applicable for mixed IN and EQUALS queries.
> --------------------------------------------------------------
>
>                 Key: IGNITE-12277
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12277
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 2.7.6
>            Reporter: Stanilovsky Evgeny
>            Assignee: Stanilovsky Evgeny
>            Priority: Major
>              Labels: sql
>             Fix For: 2.8
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> create table test(pk int, a int, b int);
> create index idx on test(a);
> select * from test where a in(r1 ...r2) <- index usage passed here, explain show correctness.
> select * from test where a in(r1 ...r2) and b = r3 <- index usage failed here, but
there is no rejection for using it.



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

Mime
View raw message