frankgh opened a new pull request, #13:
URL: https://github.com/apache/cassandra-analytics/pull/13

   When setting Buffered RowBufferMode as part of the `WriterOption`s, 
`org.apache.cassandra.spark.bulkwriter.RecordWriter` ignores that configuration 
and instead uses the batch size to determine when to finalize an SSTable and 
start writing a new SSTable, if more rows are available.
   
   In this commit, we fix 
`org.apache.cassandra.spark.bulkwriter.RecordWriter#checkBatchSize` to take 
into account the configured `RowBufferMode`. And in specific to the case of the 
`UNBUFFERED` RowBufferMode, we check then the batchSize of the SSTable during 
writes, and for the case of `BUFFERED` that check will take no effect.


-- 
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: commits-unsubscr...@cassandra.apache.org

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


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

Reply via email to