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/04 18:51:04 UTC
[jira] [Commented] (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=15997217#comment-15997217 ]
Shixiong Zhu commented on SPARK-20600:
--------------------------------------
Could you submit a PR to fix its "toString" method?
> 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