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 2019/01/18 01:56:00 UTC

[jira] [Assigned] (SPARK-26659) Duplicate cmd.nodeName in the explain output of DataWritingCommandExec

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

Apache Spark reassigned SPARK-26659:
------------------------------------

    Assignee:     (was: Apache Spark)

> Duplicate cmd.nodeName in the explain output of DataWritingCommandExec
> ----------------------------------------------------------------------
>
>                 Key: SPARK-26659
>                 URL: https://issues.apache.org/jira/browse/SPARK-26659
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Kris Mok
>            Priority: Trivial
>
> {{DataWritingCommandExec}} generates {{cmd.nodeName}} twice in its explain output, e.g. when running this query
> {code:none}
> spark.sql("create table foo stored as parquet as select id, id % 10 as cat1, id % 20 as cat2 from range(10)")
> {code}
> The query plan's explain output would be:
> {code:none}
> Execute OptimizedCreateHiveTableAsSelectCommand OptimizedCreateHiveTableAsSelectCommand [Database:default, TableName: foo, InsertIntoHiveTable]
> +- *(1) Project [id#2L, (id#2L % 10) AS cat1#0L, (id#2L % 20) AS cat2#1L]
>    +- *(1) Range (0, 10, step=1, splits=8)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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