You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by EarthsonLu <Ea...@gmail.com> on 2014/11/25 03:31:04 UTC

Re: [SparkSQL][Solved] Why this AttributeReference.exprId is not setted?

Got it. 

Only NamedExpression have exprId, we have to make new Attribute here.

private[this] val computedSchema = computedAggregates.map(_.resultAttribute) 



--
View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/SparkSQL-Why-this-AttributeReference-exprId-is-not-setted-tp9521p9522.html
Sent from the Apache Spark Developers List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org
For additional commands, e-mail: dev-help@spark.apache.org