aokolnychyi commented on a change in pull request #1773:
URL: https://github.com/apache/iceberg/pull/1773#discussion_r524556970



##########
File path: 
spark3/src/main/java/org/apache/iceberg/spark/source/SparkWriteBuilder.java
##########
@@ -113,9 +113,18 @@ public BatchWrite buildForBatch() {
     Broadcast<FileIO> io = 
lazySparkContext().broadcast(SparkUtil.serializableFileIO(table));
     Broadcast<EncryptionManager> encryptionManager = 
lazySparkContext().broadcast(table.encryption());
 
-    return new SparkBatchWrite(

Review comment:
       Let me see whether we can use inner classes instead. If yes, then we 
don't need the write context.




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

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