Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/sql-data-sources-csv.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,12 @@ Data source options of CSV can be set via:
<td>Allows renaming the new field having malformed string created by <code>PERMISSIVE</code> mode. This overrides <code>spark.sql.columnNameOfCorruptRecord</code>.</td>
<td>read</td>
</tr>
<tr>
<td><code>singleVariantColumn</code></td>
<td>(none)</td>
<td>If specified, the entire CSV record is parsed and stored as a single column of <code>VariantType</code> with the given column name, instead of being split into individual fields.</td>
<td>read</td>
</tr>
<tr>
<td><code>multiLine</code></td>
<td>false</td>
Expand Down
6 changes: 6 additions & 0 deletions docs/sql-data-sources-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,12 @@ Data source options of JSON can be set via:
<td>Allows inferring of <code>TimestampType</code> and <code>TimestampNTZType</code> from strings that match the timestamp patterns defined by the <code>timestampFormat</code> and <code>timestampNTZFormat</code> options respectively.</td>
<td>read</td>
</tr>
<tr>
<td><code>singleVariantColumn</code></td>
<td>(none)</td>
<td>If specified, the entire JSON record is parsed and stored as a single column of <code>VariantType</code> with the given column name, instead of being split into individual fields.</td>
<td>read</td>
</tr>
<tr>
<td><code>enableDateTimeParsingFallback</code></td>
<td>Enabled if the time parser policy has legacy settings or if no custom date or timestamp pattern was provided.</td>
Expand Down
7 changes: 7 additions & 0 deletions docs/sql-data-sources-xml.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ Data source options of XML can be set via:
<td>read</td>
</tr>

<tr>
<td><code>singleVariantColumn</code></td>
<td>(none)</td>
<td>If specified, the entire XML record is parsed and stored as a single column of <code>VariantType</code> with the given column name, instead of being split into individual fields.</td>
<td>read</td>
</tr>

<tr>
<td><code>attributePrefix</code></td>
<td><code>_</code></td>
Expand Down