Search before asking
Motivation
Currently, fluss rust client send any request as ApiVersion(0). However, some api versions in latest server has already upgraded to version 1. For example:
// Version 0: Uses lake's encoder for primary key encoding (legacy behavior).
// Version 1: Uses CompactedKeyEncoder for primary key encoding when bucket key differs from
// primary key, enabling prefix lookup support.
PUT_KV(1016, 0, 1, PUBLIC),
// Version 0: Uses lake's encoder for primary key encoding (legacy behavior).
// Version 1: Uses CompactedKeyEncoder for primary key encoding when bucket key differs from
// primary key, enabling prefix lookup support.
LOOKUP(1017, 0, 1, PUBLIC),
// Version 0: Uses lake's encoder for prefix key encoding (legacy behavior).
// Version 1: Uses CompactedKeyEncoder for prefix key encoding when bucket key differs from
// primary key, ensuring encoded bucket key bytes are a prefix of primary key bytes.
PREFIX_LOOKUP(1034, 0, 1, PUBLIC),
Thus, if use rust client read or write to lake table, exception will occurs.
Solution
No response
Anything else?
No response
Willingness to contribute
Search before asking
Motivation
Currently, fluss rust client send any request as ApiVersion(0). However, some api versions in latest server has already upgraded to version 1. For example:
Thus, if use rust client read or write to lake table, exception will occurs.
Solution
No response
Anything else?
No response
Willingness to contribute