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

Xiao Li resolved SPARK-26659.
-----------------------------
       Resolution: Fixed
         Assignee: Xiao Li
    Fix Version/s: 3.0.0

> 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
>            Assignee: Xiao Li
>            Priority: Trivial
>             Fix For: 3.0.0
>
>
> {{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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to