Github user rdblue commented on a diff in the pull request:
https://github.com/apache/spark/pull/22190#discussion_r212118021
--- Diff:
external/kafka-0-10-sql/src/main/scala/org/apache/spark/sql/kafka010/KafkaSourceProvider.scala
---
@@ -279,10 +277,7 @@ private[kafka010] class KafkaSourceProvider extends
DataSourceRegister
// We convert the options argument from V2 -> Java map -> scala
mutable -> scala immutable.
val producerParams =
kafkaParamsForProducer(options.asMap.asScala.toMap)
- KafkaWriter.validateQuery(
--- End diff --
This query validation happens in `KafkaStreamingWriteSupport`. It was
duplicated here and in that class. Now, it happens just once when creating the
scan config.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]