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

Andrey Mashenkov commented on IGNITE-17813:
-------------------------------------------

{quote}Also, I kinda think this is not a blocker for beta. The case that 
doesn't work is pretty straightforward (ORDER BY breaks if it sorts using a 
sorted index){quote}

GROUP BY and aggregates will not work either as execution engine rely IndexScan 
returns data in order.
Also it may affect merge JOINs.

> Sql. Introduce sorted reducer for IndexScanNode
> -----------------------------------------------
>
>                 Key: IGNITE-17813
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17813
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Konstantin Orlov
>            Assignee: Pavel Pereslegin
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-beta1
>
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> This task is derived from IGNITE-17655 to reduce its scope.
> Currently, IgniteScanNode reads partition after partition which, obviously, 
> breaks the sorting order. We need to introduce wrapping cursor, which accepts 
> open cursors for every partition, and produce the sorted output.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to