You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2023/11/25 01:27:00 UTC

[jira] [Resolved] (SPARK-46066) Use the Separators API instead of the String API to construct the DefaultPrettyPrinter

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

Dongjoon Hyun resolved SPARK-46066.
-----------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

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

> Use the Separators API instead of the String API to construct the DefaultPrettyPrinter
> --------------------------------------------------------------------------------------
>
>                 Key: SPARK-46066
>                 URL: https://issues.apache.org/jira/browse/SPARK-46066
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Yang Jie
>            Assignee: Yang Jie
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> {code:java}
> /**
>  * Constructor that specifies separator String to use between root values;
>  * if null, no separator is printed.
>  *<p>
>  * Note: simply constructs a {@link SerializedString} out of parameter,
>  * calls {@link #DefaultPrettyPrinter(SerializableString)}
>  *
>  * @param rootSeparator String to use as root value separator
>  * @deprecated in 2.16. Use the Separators API instead.
>  */
> @Deprecated
> public DefaultPrettyPrinter(String rootSeparator) {
>     this((rootSeparator == null) ? null : new SerializedString(rootSeparator));
> } {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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