ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-4524) Indexes usage in SQL functions like min/max
Date Thu, 06 Apr 2017 10:58:41 GMT

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

ASF GitHub Bot commented on IGNITE-4524:

GitHub user skalashnikov opened a pull request:


    IGNITE-4524: Index direct lookup for SQL MIN() and MAX()


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-4524

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1749
commit 9fd888e30397612d9b732264da8b3e265ff27175
Author: skalashnikov <skalashnikov@gridgain.com>
Date:   2017-04-06T10:50:15Z

    IGNITE-4524: Index direct lookup for SQL MIN() and MAX()


> Indexes usage in SQL functions like min/max
> -------------------------------------------
>                 Key: IGNITE-4524
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4524
>             Project: Ignite
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Denis Magda
>            Assignee: Sergey Kalashnikov
>              Labels: important
>             Fix For: 2.0
> If to execute queries like this
> {code}
> select min(id) from MyValue
> select max(id) from MyValue
> {code}
> assuming that 'id' is an indexed field then the engine will not gain from this. 
> The SQL engine needs to be improved so that the indexes are used for queries like the
ones above.
> More details can be found in this discussion:
> http://apache-ignite-developers.2346864.n4.nabble.com/min-max-SQL-and-indexes-td13492.html

This message was sent by Atlassian JIRA

View raw message