HyukjinKwon commented on a change in pull request #32204:
URL: https://github.com/apache/spark/pull/32204#discussion_r624858107
##########
File path: python/pyspark/sql/readwriter.py
##########
@@ -209,14 +209,7 @@ def load(self, path=None, format=None, schema=None,
**options):
else:
return self._df(self._jreader.load())
- def json(self, path, schema=None, primitivesAsString=None,
prefersDecimal=None,
- allowComments=None, allowUnquotedFieldNames=None,
allowSingleQuotes=None,
- allowNumericLeadingZero=None,
allowBackslashEscapingAnyCharacter=None,
- mode=None, columnNameOfCorruptRecord=None, dateFormat=None,
timestampFormat=None,
- multiLine=None, allowUnquotedControlChars=None, lineSep=None,
samplingRatio=None,
- dropFieldIfAllNull=None, encoding=None, locale=None,
pathGlobFilter=None,
- recursiveFileLookup=None, allowNonNumericNumbers=None,
- modifiedBefore=None, modifiedAfter=None):
+ def json(self, path):
Review comment:
Can you keep the parameters though? I meant to fix the documentation
only.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]