zinking opened a new issue, #8762:
URL: https://github.com/apache/iceberg/issues/8762
### Query engine
Spark
### Question
I thought this might do
```
val table = s"iceberg_catalog.${tableIdentifier}.branch_${branch}"
val t = Spark3Util.loadIcebergTable(spark, table)
val start = System.currentTimeMillis()
try {
SparkActions.get()
.rewriteDataFiles(t)
.skipPlanDeletes(skipPlanDeletes)
.filter(Expressions.equal("ds", 20230923))
.execute()
```
I was assuming the data is read from the branch, and the rewrite the result
is written onto the branch
but it is not, seems the change is still visible on main.
--
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]