Gabor Somogyi created FLINK-41810:
-------------------------------------

             Summary: Duplicate keys when reading several states of a RocksDB 
or ForSt snapshot
                 Key: FLINK-41810
                 URL: https://issues.apache.org/jira/browse/FLINK-41810
             Project: Flink
          Issue Type: Bug
    Affects Versions: 2.5.0
            Reporter: Gabor Somogyi


Reading the keys of an operator with several states from a RocksDB or ForSt 
snapshot returns some keys more than once. The State Processor API and the SQL 
state catalog use this iteration, and nothing fails: the rows are just wrong. 
In a reproduction with 1000 keys and a value, a list and a map state, \{{SELECT 
state_key FROM <table>}} returned 1494 rows, and a \{{SUM}} over a value state 
was 758443 instead of 499500.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to