You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Alexandre Dupriez (JIRA)" <ji...@apache.org> on 2017/10/24 18:02:00 UTC

[jira] [Comment Edited] (SPARK-12359) Add showString() to DataSet API.

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

Alexandre Dupriez edited comment on SPARK-12359 at 10/24/17 6:01 PM:
---------------------------------------------------------------------

Looking at [this source|https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala] of the {{Dataset}} it seems that {{showString}} is still package-private. What is the reason not to expose a similar method to the public?

_Note_: the reason I would like to have such a method is to use the pretty-formatted output of the {{show}} method without being forced to inject it to the standard output.


was (Author: hangleton):
Looking at [this source|https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala] of the {{Dataset}} it seems that {{showString}} is still package-private. What is the reason not to expose a similar method to the public?

> Add showString() to DataSet API.
> --------------------------------
>
>                 Key: SPARK-12359
>                 URL: https://issues.apache.org/jira/browse/SPARK-12359
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Dilip Biswal
>            Priority: Minor
>
> JIRA 12105 exposed showString and its variants as public API. This adds the two APIs into DataSet.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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