This is the implementation for #10920 (an action to prepare metadata for an Iceberg table for DR copy)
This has been used in production for awhile in our setup, although support for rewrite of V2 position delete is new. I performed the following cleanups while contributing it.
Made RewriteTableSparkAction code more functional (avoid using member variable on the action to track state)
Moved some RewriteTableSparkAction code to core Utll classes to avoid having to make some classes public as was previously done.
This is the implementation for #10920 (an action to prepare metadata for an Iceberg table for DR copy)
This has been used in production for awhile in our setup, although support for rewrite of V2 position delete is new. I performed the following cleanups while contributing it.