GitHub user linhong-intel opened a pull request: https://github.com/apache/spark/pull/23040
[SPARK-26068][Core]ChunkedByteBufferInputStream should handle empty chunks correctly ## What changes were proposed in this pull request? Empty chunk in ChunkedByteBuffer will truncate the ChunkedByteBufferInputStream. The detail reason is described in ## How was this patch tested? Modified current UT to cover this case. You can merge this pull request into a Git repository by running: $ git pull https://github.com/linhong-intel/spark fix-empty-chunked-byte-buffer Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/23040.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 #23040 ---- commit ab81c1e8eefabc9249e7643dffb8d7c0eef3c7dc Author: Liu,Linhong <liulinhong@...> Date: 2018-11-15T03:37:39Z ChunkedByteBufferInputStream should handle empty chunks correctly ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org