HeartSaVioR commented on pull request #28841:
URL: https://github.com/apache/spark/pull/28841#issuecomment-650694094


   Please take a look at how Kafka data source options apply with both batch 
and streaming query. The semantic of the option should be applied differently.
   
   
http://spark.apache.org/docs/latest/structured-streaming-kafka-integration.html#creating-a-kafka-source-for-batch-queries
   
   `startingOffsetsByTimestamp`, `startingOffsets`, `endingOffsetsByTimestamp`, 
`endingOffsets`
   
   If we are not fully sure about, let's only apply the option to batch query, 
and file an issue to address for the streaming query.
   
   Btw, that said, I prefer to have lower bound + upper bound instead of only 
lower bound, as commented earlier on reviewing.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to