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

Apache Spark commented on SPARK-19931:
--------------------------------------

User 'viirya' has created a pull request for this issue:
https://github.com/apache/spark/pull/17175

> InMemoryTableScanExec should rewrite output partitioning and ordering when 
> aliasing output attributes
> -----------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-19931
>                 URL: https://issues.apache.org/jira/browse/SPARK-19931
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: Liang-Chi Hsieh
>
> Now InMemoryTableScanExec simply takes the outputPartitioning and 
> outputOrdering from the associated InMemoryRelation's 
> child.outputPartitioning and outputOrdering.
> However, InMemoryTableScanExec can alias the output attributes. In this case, 
> its outputPartitioning and outputOrdering are not correct and its parent 
> operators can't correctly determine its data distribution.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to