skoppu22 commented on code in PR #193:
URL: 
https://github.com/apache/cassandra-analytics/pull/193#discussion_r3045740568


##########
cassandra-analytics-common/src/main/java/org/apache/cassandra/spark/utils/streaming/BufferingInputStream.java:
##########


Review Comment:
   Is this calculation still correct after this fix? For example, if position 
is 50, does it mean BufferingInputStream should start reading from the offset 
50? If yes, don't we need to set both bytesRead and bytesWritten to 50 in that 
case? Whereas this code will set both of them to `51`. Is this expected?



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

Reply via email to