回复: RocksDBMapState get the binary key bytes

2021-11-25 Thread Zen4YYDS
. Flag == 2, we can use this to write new key. 从 Windows 版邮件发送 发件人: Pengfei Li 发送时间: 2021年11月25日 18:17 收件人: dev@flink.apache.org 主题: Re: RocksDBMapState get the binary key bytes This problem is tracked in FLINK-11141 <https://issues.apache.org/jira/browse/FLINK-11141>, but there is not a soluti

Re: RocksDBMapState get the binary key bytes

2021-11-25 Thread Pengfei Li
This problem is tracked in FLINK-11141 , but there is not a solution yet considering the state compatibility. Have you encountered the problem in production? Zen4YYDS 于2021年11月25日周四 下午3:30写道: > Hi devs: > > Using RocksDB, when key and

RocksDBMapState get the binary key bytes

2021-11-24 Thread Zen4YYDS
Hi devs: Using RocksDB, when key and namespace both have variable binary length, to prevent [key, namespace] have equal binary number, we add key length and namespace length after key and namespace respectively. Then the format is: Keygroup – key -keyLength– namespace-namespaceLenth