[ 
https://issues.apache.org/jira/browse/IMPALA-3858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aman Sinha reassigned IMPALA-3858:
----------------------------------

    Assignee: Aman Sinha

> Allow for grouping of analytic nodes with matching 'order by' prefixes
> ----------------------------------------------------------------------
>
>                 Key: IMPALA-3858
>                 URL: https://issues.apache.org/jira/browse/IMPALA-3858
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Frontend
>    Affects Versions: Impala 2.7.0
>            Reporter: Thomas Tauber-Marshall
>            Assignee: Aman Sinha
>            Priority: Minor
>              Labels: performance
>
> Currently, AnalyticPlanner.isCompatible checks that analytic function's order 
> by clauses are identical before allowing them to be grouped in the same 
> analytic node.
> For many cases, it should be sufficient that they simply have matching 
> prefixes, even if one of them may be ordered on additional columns that the 
> other isn't, eg: functions with ordering 'order by: int_col ASC' and 'order 
> by: int_col ASC, bool_col DESC' may be compatible.
> There may be cases where this is not true, such as for RANGES windows, so we 
> need to be careful when we apply this optimization.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to