spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomasz Gawęda (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SPARK-12105) Add a DataFrame.show() with argument for output PrintStream
Date Thu, 12 Apr 2018 10:28:00 GMT

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

Tomasz Gawęda commented on SPARK-12105:
---------------------------------------

It can be used, but it should be so small change to the API, that it may be done more user
friendly in my opinion :)

> Add a DataFrame.show() with argument for output PrintStream
> -----------------------------------------------------------
>
>                 Key: SPARK-12105
>                 URL: https://issues.apache.org/jira/browse/SPARK-12105
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.5.2
>            Reporter: Dean Wampler
>            Priority: Minor
>
> It would be nice to send the output of DataFrame.show(...) to a different output stream
than stdout, including just capturing the string itself. This is useful, e.g., for testing.
Actually, it would be sufficient and perhaps better to just make DataFrame.showString a public
method, 



--
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


Mime
View raw message