[
https://issues.apache.org/jira/browse/SPARK-28537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Takeshi Yamamuro resolved SPARK-28537.
--------------------------------------
Resolution: Fixed
Fix Version/s: 3.0.0
Target Version/s: (was: 3.0.0)
Resolved by [https://github.com/apache/spark/pull/25274]
> DebugExec cannot debug broadcast or columnar related queries.
> -------------------------------------------------------------
>
> Key: SPARK-28537
> URL: https://issues.apache.org/jira/browse/SPARK-28537
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: Kousuke Saruta
> Assignee: Kousuke Saruta
> Priority: Major
> Fix For: 3.0.0
>
>
> DebugExec does not implement doExecuteBroadcast and doExecuteColumnar so we
> can't debug broadcast or columnar related query.
> One example for broadcast is here.
> {code}
> val df1 = Seq(1, 2, 3).toDF
> val df2 = Seq(1, 2, 3).toDF
> val joined = df1.join(df2, df1("value") === df2("value"))
> joined.debug()
> java.lang.UnsupportedOperationException: Debug does not implement
> doExecuteBroadcast
> ...
> {code}
> Another for columnar is here.
> {code}
> val df = Seq(1, 2, 3).toDF
> df.persist
> df.debug()
> java.lang.IllegalStateException: Internal Error class
> org.apache.spark.sql.execution.debug.package$DebugExec has column support
> mismatch:
> ...
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]