Skip to content

Commit ca2900d

Browse files
committed
fix python
1 parent d4e3993 commit ca2900d

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

python/pyspark/sql/readwriter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ def csv(self, path, schema=None, sep=None, encoding=None, quote=None, escape=Non
698698
parsed value until the delimiter is found. If no delimiter is found in the value, the
699699
parser will continue accumulating characters from the input until a delimiter or line
700700
ending is found.
701-
* ``STOP_AT_DELIMITER`: If unescaped quotes are found in the input, consider the value
701+
* ``STOP_AT_DELIMITER``: If unescaped quotes are found in the input, consider the value
702702
as an unquoted value. This will make the parser accumulate all characters until the
703703
delimiter or a line ending is found in the input.
704704
* ``STOP_AT_DELIMITER``: If unescaped quotes are found in the input, the content parsed

python/pyspark/sql/readwriter.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ class DataFrameReader(OptionUtils):
113113
lineSep: Optional[str] = ...,
114114
pathGlobFilter: Optional[Union[bool, str]] = ...,
115115
recursiveFileLookup: Optional[Union[bool, str]] = ...,
116+
unescapedQuoteHandling: Optional[str] = ...,
116117
) -> DataFrame: ...
117118
def orc(
118119
self,

python/pyspark/sql/streaming.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ def csv(self, path, schema=None, sep=None, encoding=None, quote=None, escape=Non
912912
parsed value until the delimiter is found. If no delimiter is found in the value, the
913913
parser will continue accumulating characters from the input until a delimiter or line
914914
ending is found.
915-
* ``STOP_AT_DELIMITER`: If unescaped quotes are found in the input, consider the value
915+
* ``STOP_AT_DELIMITER``: If unescaped quotes are found in the input, consider the value
916916
as an unquoted value. This will make the parser accumulate all characters until the
917917
delimiter or a line ending is found in the input.
918918
* ``STOP_AT_DELIMITER``: If unescaped quotes are found in the input, the content parsed

python/pyspark/sql/streaming.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ class DataStreamReader(OptionUtils):
149149
lineSep: Optional[str] = ...,
150150
pathGlobFilter: Optional[Union[bool, str]] = ...,
151151
recursiveFileLookup: Optional[Union[bool, str]] = ...,
152+
unescapedQuoteHandling: Optional[str] = ...,
152153
) -> DataFrame: ...
153154

154155
class DataStreamWriter:

0 commit comments

Comments
 (0)