wuchong commented on a change in pull request #13972:
URL: https://github.com/apache/flink/pull/13972#discussion_r519653107
##########
File path: docs/dev/table/connectors/formats/json.md
##########
@@ -117,6 +117,26 @@ Format Options
</ul>
</td>
</tr>
+ <tr>
+ <td><h5>json.map-null-key.mode</h5></td>
+ <td>optional</td>
+ <td style="word-wrap: break-word;"><code>'FAIL'</code></td>
+ <td>String</td>
+ <td>Specify the handling mode when serializing null keys for map data.
Currently supported values are <code>'FAIL'</code>, <code>'DROP'</code> and
<code>'LITERAL'</code>:
+ <ul>
+ <li>Option <code>'FAIL'</code> will throw exception when encountering
map with null key.</li>
+ <li>Option <code>'DROP'</code> will drop null key entries for map
data.</li>
+ <li>Option <code>'LITERAL'</code> will replace null key with string
literal.</li>
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <td><h5>json.map-null-key.literal</h5></td>
+ <td>optional</td>
+ <td style="word-wrap: break-word;">'null'</td>
+ <td>String</td>
+ <td>Specify string literal to replace null key when
<code>'json.map-null-key.literal'</code> is LITERAL.</td>
Review comment:
json.map-null-key.mode
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]