Yibo-Dong opened a new issue, #19307:
URL: https://github.com/apache/iceberg/issues/19307
### Apache Iceberg version
main (development)
### Query engine
Spark
### Please describe the bug 🐞
After a copy-on-write `UPDATE` of one row, the changelog view also reports
the unchanged rows copied from the same file as updates, if the table has a
`MAP<..., BINARY>` column. With `MAP<STRING, STRING>` only the updated row is
reported. #18209 fixed binary values at the top level and in arrays and
structs, but not in maps. Reproduced on `main` (3bfa3e4, 2026-12-01) and
1.12.0, Spark 3.5.5.
### Reproduction
```sql
CREATE TABLE local.db.t (id INT, v STRING, m MAP<STRING, BINARY>) USING
iceberg;
INSERT INTO local.db.t SELECT /*+ COALESCE(1) */ * FROM VALUES (1, 'a',
map('k', X'01')), (2, 'b', map('k', X'02')) AS x(id, v, m);
UPDATE local.db.t SET v = 'bb' WHERE id = 2;
CALL local.system.create_changelog_view(table => 'db.t', identifier_columns
=> array('id'));
SELECT id, v, _change_type FROM t_changes WHERE _change_ordinal = 1 ORDER BY
id, _change_type;
```
### Expected
| Query | Result |
|---|---|
| `t_changes` | `2 bb UPDATE_AFTER`, `2 b UPDATE_BEFORE` |
### Actual
| Query | Result |
|---|---|
| `t_changes` | `1 a UPDATE_AFTER`, `1 a UPDATE_BEFORE`, `2 bb
UPDATE_AFTER`, `2 b UPDATE_BEFORE` |
### Willingness to contribute
- [ ] I can contribute a fix for this bug independently
- [ ] I would be willing to contribute a fix for this bug with guidance from
the Iceberg community
- [x] I cannot contribute a fix for this bug at this time
--
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]