Ilya Sterin
08/18/2023, 10:31 PMorg.apache.flink.table.api.TableException: Table sink 'default_catalog.default_database.enriched_topic' doesn't support consuming update and delete changes which is produced by node Join(joinType=[LeftOuterJoin], where=[((stringid = sitenameid)
Is it true that Flink SQL stream with a left join can produce delete events?Giannis Polyzos
08/19/2023, 8:49 PMupsert connector.
I suppose you see null values because the matching records is missing on the right side?
It emits insert, update and delete events in order to track changes. For example since its a dual-stream join, you might consume events from the left side but the matching record hasnt consumed yet for the right side.
when the record with the matching key arrives from the right side, it will produce delete the previous record and insert the new oneIlya Sterin
08/21/2023, 12:38 AM"More precisely, the value in a data record is interpreted as an UPDATE of the last value for the same key, if any (if a corresponding key doesn’t exist yet, the update will be considered an INSERT). Using the table analogy, a data record in a changelog stream is interpreted as an UPSERT aka INSERT/UPDATE because any existing row with the same key is overwritten. Also, null values are interpreted in a special way: a record with a null value represents a “DELETE”.Given the row is "overwritten", I don't see where delete makes sense here. If the right hand side doesn't yet exist, it will yield a record. when the right hand side exists, it will yield the record with those columns (and it will be an update, given the key already exists). But delete is still confusing to me. Can you elaborate a bit more. What am I missing? Thank you for your time.
Giannis Polyzos
08/21/2023, 6:00 AMIlya Sterin
08/21/2023, 12:51 PMIlya Sterin
08/21/2023, 2:56 PMIlya Sterin
08/28/2023, 2:48 PMIlya Sterin
08/28/2023, 2:49 PMGiannis Polyzos
08/28/2023, 3:05 PMIlya Sterin
08/28/2023, 9:49 PMIlya Sterin
08/28/2023, 9:50 PMIlya Sterin
08/28/2023, 9:51 PMGiannis Polyzos
08/29/2023, 6:23 AMIlya Sterin
08/29/2023, 3:20 PMIlya Sterin
08/29/2023, 8:20 PMIlya Sterin
08/29/2023, 8:22 PMGiannis Polyzos
08/30/2023, 6:03 AMRobin Fehr
11/21/2023, 10:03 AMGiannis Polyzos
11/21/2023, 10:10 AM-U recordRobin Fehr
11/21/2023, 10:12 AMGiannis Polyzos
11/21/2023, 10:14 AMRobin Fehr
11/21/2023, 10:15 AMGiannis Polyzos
11/21/2023, 10:22 AMRobin Fehr
11/21/2023, 10:27 AM