[ 
https://issues.apache.org/jira/browse/SPARK-26659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16745706#comment-16745706
 ] 

Apache Spark commented on SPARK-26659:
--------------------------------------

User 'rednaxelafx' has created a pull request for this issue:
https://github.com/apache/spark/pull/23579

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to