You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Create_changelog_view does not return any records when end-timestamp is missing and parent_id is null.
Steps to reproduce 1. Add two records in the table one after the other. 2. Run create_changelog_view with start-timestamp and end-timestamp 3. Run create_changelog_view with start-timestamp
Run create_changelog_view with start-timestamp and end-timestamp Call iceberg.system.create_changelog_view( compute_updates => true, table => 'iceberg.db.table_1', options => map('start-timestamp', '1736286033773', 'end-timestamp', '1736286038217'), identifier_columns => array('foo') ) Result
Returns both the records.
Run create_changelog_view with start-timestamp Call iceberg.system.create_changelog_view( compute_updates => true, table => 'iceberg.db.table_1', options => map('start-timestamp', '1736286033773'), identifier_columns => array('foo') ) Result
Returns both the records.
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
I cannot contribute a fix for this bug at this time
The text was updated successfully, but these errors were encountered:
Apache Iceberg version
1.7.1 (latest release)
Query engine
Spark
Please describe the bug 🐞
Description
Create_changelog_view does not return any records when end-timestamp is missing and parent_id is null.
Steps to reproduce
1. Add two records in the table one after the other.
2. Run create_changelog_view with start-timestamp and end-timestamp
3. Run create_changelog_view with start-timestamp
Observations
Snapshots
+---------------------------+---------------------------+--------------------------+
| committed_at | snapshot_id | parent_id |
+---------------------------+---------------------------+--------------------------+
|2025-01-07 13:40:34.662 | 3486607060728746628 | NULL |
|2025-01-07 13:40:37.126 | 1370475982752787916 | 3486607060728746628 |
+---------------------------+---------------------------+--------------------------+
Run create_changelog_view with start-timestamp and end-timestamp
Call iceberg.system.create_changelog_view( compute_updates => true, table => 'iceberg.db.table_1', options => map('start-timestamp', '1736286033773', 'end-timestamp', '1736286038217'), identifier_columns => array('foo') )
Result
Returns both the records.
Run create_changelog_view with start-timestamp
Call iceberg.system.create_changelog_view( compute_updates => true, table => 'iceberg.db.table_1', options => map('start-timestamp', '1736286033773'), identifier_columns => array('foo') )
Result
Returns both the records.
Willingness to contribute
The text was updated successfully, but these errors were encountered: