GitHub user zsxwing opened a pull request: https://github.com/apache/spark/pull/22633
[SPARK-25644][SS]Fix java foreachBatch in DataStreamWriter ## What changes were proposed in this pull request? The java `foreachBatch` API in `DataStreamWriter` should accept `java.lang.Long` rather `scala.Long`. ## How was this patch tested? New java test. You can merge this pull request into a Git repository by running: $ git pull https://github.com/zsxwing/spark fix-java-foreachbatch Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/22633.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #22633 ---- commit aed8c2457f8abff5b50d579dc3a4938cc36c5be1 Author: Shixiong Zhu <zsxwing@...> Date: 2018-10-04T20:12:25Z fix java foreachBatch ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org