Open MonsterChenzhuo opened 9 months ago
@JingsongLi What do you think about this design?
any update on this issue? we have a scenario that use a Java client to write a paimon primary key table, and need a way to store some information in snapshot. These information would help when the task starts after stop/crash, the task could use the information in snapshot to seek the right position to recover. @MonsterChenzhuo @JingsongLi
Search before asking
Motivation
Search before asking
Motivation
To add an attribute for recording additional user-stored information in the existing snapshot structure, considering flexibility and expandability, a new attribute named extraInfo can be added to the top-level structure. This attribute stores a key-value pair structure, similar to a dictionary or Map, to facilitate the storage of extra user information.
Design of extraInfo Structure Basic Key-Value Pairs: For storing simple user information such as preference settings. Nested Structure: Supports more complex data structures, such as lists or dictionaries, to store more detailed user data.
Integration into the Existing Structure The extraInfo attribute is integrated into the structure you provided, with the new structure as follows:
Solution
No response
Anything else?
No response
Are you willing to submit a PR?
Solution
No response
Anything else?
No response
Are you willing to submit a PR?