Changes involved in this PR:
- Move the
PartitionedFanoutWriter of flink to core/src/main/java/org/apache/iceberg/io package.
- Implement immobile writers for spark2 and spark3 modules respectively.
- User can turn it on according to the parameter
write.partitioned.fanout.enabled= true in the setting table. The default is false and can also set spark option partitioned.fanout.enabled to override it.