You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/10/13 09:40:05 UTC
[jira] [Assigned] (SPARK-11080) NamedExpression.newExprId should
only be called on driver
[ https://issues.apache.org/jira/browse/SPARK-11080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-11080:
------------------------------------
Assignee: Josh Rosen (was: Apache Spark)
> NamedExpression.newExprId should only be called on driver
> ---------------------------------------------------------
>
> Key: SPARK-11080
> URL: https://issues.apache.org/jira/browse/SPARK-11080
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Josh Rosen
> Assignee: Josh Rosen
>
> My understanding of {{NamedExpression.newExprId}} is that it is only intended to be called on the driver. If it is called on executors, then this may lead to scenarios where the same expression id is re-used in two different NamedExpressions.
> More generally, I think that calling {{NamedExpression.newExprId}} within tasks may be an indicator of potential attribute binding bugs. Therefore, I think that we should prevent {{NamedExpression.newExprId}} from being called inside of tasks by throwing an exception when such calls occur.
--
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