[
https://issues.apache.org/jira/browse/SPARK-13254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15140015#comment-15140015
]
Apache Spark commented on SPARK-13254:
--------------------------------------
User 'JoshRosen' has created a pull request for this issue:
https://github.com/apache/spark/pull/11145
> Fix planning of TakeOrderedAndProject operator
> ----------------------------------------------
>
> Key: SPARK-13254
> URL: https://issues.apache.org/jira/browse/SPARK-13254
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.0.0
> Reporter: Josh Rosen
> Assignee: Josh Rosen
>
> The patch for SPARK-8964 ("use Exchange to perform shuffle in Limit")
> inadvertently broke the planning of the TakeOrderedAndProject operator:
> because ReturnAnswer was the new root of the query plan, the
> TakeOrderedAndProject rule was unable to match before BasicOperators. We
> should fix this by moving all rules that match on ReturnAnswer to run at the
> start of the physical planning process.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]