You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Shixiong Zhu (JIRA)" <ji...@apache.org> on 2017/05/08 22:39:04 UTC
[jira] [Comment Edited] (SPARK-20600) KafkaRelation should be
pretty printed in web UI (Details for Query)
[ https://issues.apache.org/jira/browse/SPARK-20600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16001680#comment-16001680 ]
Shixiong Zhu edited comment on SPARK-20600 at 5/8/17 10:38 PM:
---------------------------------------------------------------
[~jlaskowski] Hope you can do it soon. Then we can put it into 2.2.0 if RC2 fails.
was (Author: zsxwing):
[~jlaskowski] Hope you want do it soon. Then we can put it into 2.2.0 if RC2 fails.
> KafkaRelation should be pretty printed in web UI (Details for Query)
> --------------------------------------------------------------------
>
> Key: SPARK-20600
> URL: https://issues.apache.org/jira/browse/SPARK-20600
> Project: Spark
> Issue Type: Improvement
> Components: Structured Streaming
> Affects Versions: 2.2.0
> Reporter: Jacek Laskowski
> Priority: Trivial
> Attachments: kafka-source-scan-webui.png
>
>
> Executing the following batch query gives the default stringified/internal name of {{KafkaRelation}} in web UI (under Details for Query), i.e. http://localhost:4040/SQL/execution/?id=3 (<-- change the {{id}}). See the attachment.
> {code}
> spark.
> read.
> format("kafka").
> option("subscribe", "topic1").
> option("kafka.bootstrap.servers", "localhost:9092").
> load.
> select('value cast "string").
> write.
> csv("fromkafka.csv")
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org