Skip to content

Commit 5f02005

Browse files
authored
Update apache-spark-cdm-connector.md
1 parent 465146b commit 5f02005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/synapse-analytics/spark/data-sources/apache-spark-cdm-connector.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ When the connector reads CSV data, it uses the Spark `failfast` option by defaul
6767
Alternatively, as of 0.19, the connector supports permissive mode (only for CSV files). With permissive mode, when a CSV row has a lower number of columns than the entity schema, the connector assigns null values for the missing columns. When a CSV row has more columns than the entity schema, the columns greater than the entity schema column count are truncated to the schema column count. Usage is as follows:
6868

6969
```scala
70-
.option("entity", "permissive") or .option("mode", "failfast")
70+
.option("mode", "permissive") or .option("mode", "failfast")
7171
```
7272

7373
## Writing data

0 commit comments

Comments
 (0)