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

Apache Spark reassigned SPARK-9949:
-----------------------------------

    Assignee: Apache Spark  (was: Yin Huai)

> TakeOrderedAndProject returns wrong output attributes when project is pushed 
> in to it
> -------------------------------------------------------------------------------------
>
>                 Key: SPARK-9949
>                 URL: https://issues.apache.org/jira/browse/SPARK-9949
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Yin Huai
>            Assignee: Apache Spark
>            Priority: Blocker
>
> In {{TakeOrderedAndProject}}, we have
> {code}
> case class TakeOrderedAndProject(
>     limit: Int,
>     sortOrder: Seq[SortOrder],
>     projectList: Option[Seq[NamedExpression]],
>     child: SparkPlan) extends UnaryNode {
>   override def output: Seq[Attribute] = child.output
> {code}
> When projectList is set, we should use its attributes as the output.



--
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

Reply via email to