yifan-c opened a new pull request, #146: URL: https://github.com/apache/cassandra-analytics/pull/146
Extract BulkWriterConfig as an immutable, serializable data class for Spark broadcast variables, replacing direct broadcasting of BulkWriterContext. This addresses the issue where BulkWriterContext, containing mutable state and non-serializable dependencies, was being broadcast to executors. Follows Spark best practices for broadcast variables (immutable data only) and provides a clear separation between configuration data and stateful context objects. Patch by Yifan Cai; reviewed by TBD for CASSANALYTICS-89 -- 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]
