Josh Rosen created SPARK-13254: ---------------------------------- Summary: 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org