Skip to content

Commit

Permalink
[MINOR][DOCS] Fix typos in docs/sql-data-sources-xml.md
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

This PR aims to fix typos in `docs/sql-data-sources-xml.md`. It seems that the relevant content was copied from the document of the `json` data source, but I forgot to modify it to `xml`.

### Why are the changes needed?

Fix typos.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass GA.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #47542 from wayneguow/xml_typos.

Authored-by: Wei Guo <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
  • Loading branch information
wayneguow authored and HyukjinKwon committed Aug 2, 2024
1 parent f15570d commit a9daed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sql-data-sources-xml.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Data source options of XML can be set via:
<td>Allows a mode for dealing with corrupt records during parsing.<br>
<ul>
<li><code>PERMISSIVE</code>: when it meets a corrupted record, puts the malformed string into a field configured by columnNameOfCorruptRecord, and sets malformed fields to null. To keep corrupt records, an user can set a string type field named columnNameOfCorruptRecord in an user-defined schema. If a schema does not have the field, it drops corrupt records during parsing. When inferring a schema, it implicitly adds a columnNameOfCorruptRecord field in an output schema.</li>
<li><code>DROPMALFORMED</code>: ignores the whole corrupted records. This mode is unsupported in the JSON built-in functions.</li>
<li><code>DROPMALFORMED</code>: ignores the whole corrupted records. This mode is unsupported in the XML built-in functions.</li>
<li><code>FAILFAST</code>: throws an exception when it meets corrupted records.</li>
</ul>
</td>
Expand Down

0 comments on commit a9daed1

Please sign in to comment.