Skip to content
Closed
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
10 changes: 5 additions & 5 deletions common/utils/src/main/resources/error/error-conditions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5480,12 +5480,12 @@
"message" : [
"Queries from raw JSON/CSV/XML files are disallowed when the",
"referenced columns only include the internal corrupt record column",
"(named _corrupt_record by default). For example:",
"spark.read.schema(schema).json(file).filter($\"_corrupt_record\".isNotNull).count()",
"and spark.read.schema(schema).json(file).select(\"_corrupt_record\").show().",
"(named `_corrupt_record` by default). For example:",
"`spark.read.schema(schema).json(file).filter($\"_corrupt_record\".isNotNull).count()`",
"and `spark.read.schema(schema).json(file).select(\"_corrupt_record\").show()`.",
"Instead, you can cache or save the parsed results and then send the same query.",
"For example, val df = spark.read.schema(schema).json(file).cache() and then",
"df.filter($\"_corrupt_record\".isNotNull).count()."
"For example, `val df = spark.read.schema(schema).json(file).cache()` and then",
"`df.filter($\"_corrupt_record\".isNotNull).count()`."
]
},
"REMOVE_NAMESPACE_COMMENT" : {
Expand Down
41 changes: 0 additions & 41 deletions docs/sql-error-conditions-codec-not-available-error-class.md

This file was deleted.

41 changes: 0 additions & 41 deletions docs/sql-error-conditions-collation-mismatch-error-class.md

This file was deleted.

52 changes: 0 additions & 52 deletions docs/sql-error-conditions-failed-read-file-error-class.md

This file was deleted.

41 changes: 0 additions & 41 deletions docs/sql-error-conditions-illegal-state-store-value-error-class.md

This file was deleted.

49 changes: 0 additions & 49 deletions docs/sql-error-conditions-invalid-aggregate-filter-error-class.md

This file was deleted.

41 changes: 0 additions & 41 deletions docs/sql-error-conditions-invalid-conf-value-error-class.md

This file was deleted.

41 changes: 0 additions & 41 deletions docs/sql-error-conditions-invalid-datetime-pattern-error-class.md

This file was deleted.

49 changes: 0 additions & 49 deletions docs/sql-error-conditions-invalid-delimiter-value-error-class.md

This file was deleted.

Loading
Loading