spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-9949) TakeOrderedAndProject returns wrong output attributes when project is pushed in to it
Date Sat, 15 Aug 2015 00:35:45 GMT

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

Reynold Xin resolved SPARK-9949.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

> 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: Yin Huai
>            Priority: Blocker
>             Fix For: 1.5.0
>
>
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message