Spark can't read its own write after another one commits data to the iceberg table #10919
Closed
1 of 3 tasks
Labels
bug
Something isn't working
Apache Iceberg version
1.5.2
Query engine
Spark
Please describe the bug 🐞
How to reproduce:
CREATE TABLE demo.demo_db.t_bug(a int) TBLPROPERTIES ('format-version'='2')
insert into demo.demo_db.t_bug values (1)
insert into demo.demo_db.t_bug values (2)
select * from demo.demo_db.t_bug.files
told me there are 2 parquet files, but when I runselect * from demo.demo_db.t_bug
only 1 row returns. And I run 2 time travel queries, you can see both snapshots return 1 row. The first time travel query result with id6579104674932036030
is expected, but the second one with id6579104674932036031
is unexpectedI also include the table
t_bug
metadata and data directory here for those who are interested in this issue.t_bug.zip
Willingness to contribute
The text was updated successfully, but these errors were encountered: