okumin opened a new pull request, #11902: URL: https://github.com/apache/iceberg/pull/11902
Hive supports the `history` table. https://github.com/apache/hive/blob/master/iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/IcebergMetadataTables.java I verified it would work with the latest version, 4.0.1. ``` 0: jdbc:hive2://localhost:10000/> CREATE TABLE test (id INT) STORED BY ICEBERG; ... 0: jdbc:hive2://localhost:10000/> INSERT INTO test VALUES (1); ... 0: jdbc:hive2://localhost:10000/> INSERT INTO test VALUES (2); ... 0: jdbc:hive2://localhost:10000/> SELECT * FROM default.test.history; ... +----------------------------------+----------------------+----------------------+---------------------------+ | test.made_current_at | test.snapshot_id | test.parent_id | test.is_current_ancestor | +----------------------------------+----------------------+----------------------+---------------------------+ | 2025-01-02 10:14:19.954 Etc/UTC | 4408216953068462947 | NULL | true | | 2025-01-02 10:14:22.559 Etc/UTC | 4271863120661887759 | 4408216953068462947 | true | +----------------------------------+----------------------+----------------------+---------------------------+ ... 0: jdbc:hive2://localhost:10000/> SELECT version(); ... +--------------------------------------------------+ | _c0 | +--------------------------------------------------+ | 4.0.1 r3af4517eb8cfd9407ad34ed78a0b48b57dfaa264 | +--------------------------------------------------+ ``` -- 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]
