dmgcodevil opened a new issue #3168:
URL: https://github.com/apache/iceberg/issues/3168
I have the following partition spec:
```
timestamp: day
id: bucket-10
```
This is how I sort spark dataFrame:
```
IcebergSpark.registerBucketUDF(sc, "iceberg_bucket10", DataTypes.StringType,
10)
source.sortWithinPartitions(col("int_field"), expr("iceberg_bucket10(id)"))
```
However, the job is failing:
```
java.lang.IllegalStateException: Already closed files for partition:
timestamp_day=2021-09-23/id_bucket=0
```
What I'm doing wrong ?
--
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]