Sharath Gururaj
03/27/2024, 7:29 PMtable.exec.state.ttl=0ms Is there any other reason why these messages would appear?
2024-03-27 19:25:23,475 INFO org.apache.flink.table.runtime.operators.sink.SinkUpsertMaterializer [] - The state is cleared because of state ttl. This will result in incorrect result. You can increase the state ttl to avoid this.Sharath Gururaj
03/28/2024, 6:02 PMcurrent_timestamp as one of the columns. Of course this value will change on every evaluation. So flink was not able to "find" a previous version of the row, and it thought that the state was cleared. Removing current_timestamp from the list of selected columns fixed the issue