gaborgsomogyi commented on a change in pull request #23791:
[SPARK-20597][SQL][SS][WIP] KafkaSourceProvider falls back on path as synonym
for topic
URL: https://github.com/apache/spark/pull/23791#discussion_r259763177
##########
File path:
external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaSinkSuite.scala
##########
@@ -454,6 +516,33 @@ class KafkaSinkSuite extends StreamTest with
SharedSQLContext with KafkaTest {
withOutputMode.foreach(stream.outputMode(_))
withOptions.foreach(opt => stream.option(opt._1, opt._2))
}
- stream.start()
+ withPath match {
+ case Some(path) => stream.start(path)
+ case _ => stream.start()
+ }
+ }
+
+ private def checkStreamAggregation(input: MemoryStream[String],
+ stream: StreamingQuery,
Review comment:
Nit: Indent
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]