You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2022/02/14 10:29:00 UTC

[jira] [Resolved] (SPARK-38198) Fix `QueryExecution.debug#toFile` use the passed in `maxFields` when `explainMode` is `CodegenMode`

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

Max Gekk resolved SPARK-38198.
------------------------------
    Fix Version/s: 3.3.0
       Resolution: Fixed

Issue resolved by pull request 35506
[https://github.com/apache/spark/pull/35506]

> Fix `QueryExecution.debug#toFile` use the passed in `maxFields` when `explainMode` is `CodegenMode`
> ---------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-38198
>                 URL: https://issues.apache.org/jira/browse/SPARK-38198
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: Yang Jie
>            Assignee: Yang Jie
>            Priority: Minor
>             Fix For: 3.3.0
>
>
> `QueryExecution.debug#toFile` method supports passing in `maxFields` and this parameter will be passed down when `explainMode` is SimpleMode, ExtendedMode, or CostMode, but the passed down `maxFields` was ignored because `QueryExecution#stringWithStats` overrides it with `SQLConf.get.maxToStringFields` at present
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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