You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kris Mok (JIRA)" <ji...@apache.org> on 2019/01/18 01:54:00 UTC
[jira] [Created] (SPARK-26659) Duplicate cmd.nodeName in the
explain output of DataWritingCommandExec
Kris Mok created SPARK-26659:
--------------------------------
Summary: 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
{{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