Re: Flink SQL: MySQL to Elaticsearch soft delete

2023-10-22 Thread Feng Jin
Hi Hemi You can not just filter the delete records. You must use the following syntax to generate a delete record. ``` CREATE TABLE test_source (f1 xxx, f2, xxx, f3 xxx, deleted boolean) with (.); INSERT INTO es_sink SELECT f1, f2, f3 FROM ( SELECT *, ROW_NUMBER() OVER (PARTITION BY f1

Re:Re: Flink SQL: non-deterministic join behavior, is it expected?

2023-10-22 Thread Xuyang
Hi, Could you share the original SQL? If not, could you share the plan after executing 'EXPLAIN ...'. There should be one node 'Exchange' as the both inputs of the 'Join' in both "== Optimized Physical Plan ==" and "== Optimized Execution Plan ==". -- Best! Xuyang 在 2023-10-20