Skip to content

Commit 833a0f9

Browse files
committed
fix doc
1 parent 95f2792 commit 833a0f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/snowflake/snowpark/dataframe_reader.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,11 +866,12 @@ def xml(self, path: str, _emit_ast: bool = True) -> DataFrame:
866866
867867
+ ``mode``: Specifies the mode for dealing with corrupt XML records. The default value is ``PERMISSIVE``. The supported values are:
868868
869-
- ``PERMISSIVE``: When it encounters a corrupt record, it sets all fields to null and includes a 'columnNameOfCorruptRecord' column.
869+
- ``PERMISSIVE``: When it encounters a corrupt record, it sets all fields to null and includes a `columnNameOfCorruptRecord` column.
870870
871871
- ``DROPMALFORMED``: Ignores the whole record that cannot be parsed correctly.
872872
873873
- ``FAILFAST``: When it encounters a corrupt record, it raises an exception immediately.
874+
874875
+ ``columnNameOfCorruptRecord``: Specifies the name of the column that contains the corrupt record.
875876
The default value is '_corrupt_record'.
876877
"""

0 commit comments

Comments
 (0)