viirya commented on a change in pull request #35238:
URL: https://github.com/apache/spark/pull/35238#discussion_r788529918
##########
File path:
external/kafka-0-10-sql/src/main/scala/org/apache/spark/sql/kafka010/KafkaSource.scala
##########
@@ -130,7 +134,10 @@ private[kafka010] class KafkaSource(
} else if (minOffsetPerTrigger.isDefined) {
ReadLimit.minRows(minOffsetPerTrigger.get, maxTriggerDelayMs)
} else {
-
maxOffsetsPerTrigger.map(ReadLimit.maxRows).getOrElse(super.getDefaultReadLimit)
+ // Calling ReadLimit.allAvailable() explicitly instead of
super.getDefaultReadLimit because
+ // scala compiler bug https://github.com/scala/bug/issues/12523
+ // TODO revert to calling super.getDefaultReadLimit when scala complier
bug is fixed
Review comment:
ditto.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]