RjLi13 opened a new pull request, #15876:
URL: https://github.com/apache/iceberg/pull/15876

   This is a backport of the Async Micro Batch Planner feature from Spark 4.1 
to Spark 4. Original context: https://github.com/apache/iceberg/pull/15059 
(closed)
   
   PRs for this feature merged for 4.1:
   https://github.com/apache/iceberg/pull/15298
   https://github.com/apache/iceberg/pull/15299
   https://github.com/apache/iceberg/pull/15670
   
   Full disclosure: I leveraged AI to do the backport for me
   
   Given there is subtle differences between 4.0 and 4.1, it was not a direct 
copy paste.
   
   The files I diffed to ensure they were exactly the same with 4.1:
   - AsyncSparkMicroBatchPlanner.java
   - BaseSparkMicroBatchPlanner.java
   - MicroBatchUtils.java
   - SparkMicroBatchPlanner.java
   - SyncSparkMicroBatchPlanner.java
   - TestAsyncSparkMicroBatchPlanner.java
   - TestMicroBatchPlanningUtils.java
   
   Files that could not be copy-pasted:
   - SparkReadConf (cherry-picked options)
   - SparkReadOptions (cherry-picked options)
   - SparkSQLProperties (cherry-picked options)
   - **SparkMicroBatchStream** (in 4.0, SparkInputPartition takes in branch and 
expectedSchema, 4.1 takes in projection, diffing the files, no changes other 
than handling branch and expectedSchema)
   - **TestStructuredStreamingRead3.java** (Changes were)
          - different instantiation of SparkMicroBatchStream
          - SparkReadConf difference (no CaseInsenstiveMap)
          - However modified to match 4.1 more so git diff is larger


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