apache / paimon

Apache Paimon is a lake format that enables building a Realtime Lakehouse Architecture with Flink and Spark for both streaming and batch operations.
https://paimon.apache.org/
Apache License 2.0
2.12k stars 839 forks source link

[core] update tag metadata for the same snapshot of the same tag #3563

Closed askwang closed 1 week ago

askwang commented 2 weeks ago

Purpose

When call create_tag twice for the same snapshot of the same tag, the tag medata should update.

CALL sys.create_tag(table => 'default.T', tag => 'my_tag', snapshot => 10)
CALL sys.delete_tag(table => 'default.T', tag => 'my_tag', snapshot => 10, time_retained => '1d')

Tests

API and Format

Documentation