KAFKA-12317: Update FK-left-join documentation (#15689)

FK left-join was changed via KIP-962. This PR updates the docs accordingly.

Reviewers: Ayoub Omari <ayoubomari1@outlook.fr>, Matthias J. Sax <matthias@confluent.io>
This commit is contained in:
Florin Akermann 2024-06-06 00:22:31 +02:00 committed by GitHub
parent 1134520dec
commit 7763243752
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -2542,6 +2542,10 @@ Function&lt;Long, Long&gt; foreignKeyExtractor = (x) -&gt; x;
<blockquote>
<div>
<ul class="simple">
<li>
Records for which the <code class="docutils literal"><span class="pre">foreignKeyExtractor</span></code> produces <code class="docutils literal"><span class="pre">null</span></code> are ignored and do not trigger a join.
If you want to join with <code class="docutils literal"><span class="pre">null</span></code> foreign keys, use a suitable sentinel value to do so (i.e. <code class="docutils literal"><span class="pre">"NULL"</span></code> for a String field, or <code class="docutils literal"><span class="pre">-1</span></code> for an auto-incrementing integer field).
</li>
<li>Input records with a <code class="docutils
literal"><span class="pre">null</span></code>
value are interpreted as <em>tombstones</em>
@ -2601,10 +2605,6 @@ Function&lt;Long, Long&gt; foreignKeyExtractor = (x) -&gt; x;
<blockquote>
<div>
<ul class="simple">
<li>
Records for which the <code class="docutils literal"><span class="pre">foreignKeyExtractor</span></code> produces <code class="docutils literal"><span class="pre">null</span></code> are ignored and do not trigger a join.
If you want to join with <code class="docutils literal"><span class="pre">null</span></code> foreign keys, use a suitable sentinel value to do so (i.e. <code class="docutils literal"><span class="pre">"NULL"</span></code> for a String field, or <code class="docutils literal"><span class="pre">-1</span></code> for an auto-incrementing integer field).
</li>
<li>Input records with a <code class="docutils
literal"><span class="pre">null</span></code>
value are interpreted as <em>tombstones</em>