Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22534#discussion_r219901199
  
    --- Diff: python/pyspark/sql/readwriter.py ---
    @@ -776,7 +776,7 @@ def saveAsTable(self, name, format=None, mode=None, 
partitionBy=None, **options)
     
         @since(1.4)
         def json(self, path, mode=None, compression=None, dateFormat=None, 
timestampFormat=None,
    -             lineSep=None, encoding=None):
    +             lineSep=None, encoding=None, pretty=None):
    --- End diff --
    
    How about adding to R too? I don't know as much about how R works and 
whether it just works to add `pretty=True` in the R API. It could use some docs 
if it works.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to