Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/20503#discussion_r225846867
--- Diff: python/pyspark/sql/types.py ---
@@ -1581,7 +1581,7 @@ def __repr__(self):
return "Row(%s)" % ", ".join("%s=%r" % (k, v)
Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/20503#discussion_r225846669
--- Diff: python/pyspark/sql/types.py ---
@@ -1581,7 +1581,7 @@ def __repr__(self):
return "Row(%s)" % ", ".join("%s=%r" % (k, v)
Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/20503#discussion_r225846584
--- Diff: python/pyspark/sql/types.py ---
@@ -1581,7 +1581,7 @@ def __repr__(self):
return "Row(%s)" % ", ".join("%s=%r" % (k, v)
Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/20503#discussion_r225846381
--- Diff: python/pyspark/sql/tests.py ---
@@ -234,6 +234,10 @@ def test_empty_row(self):
row = Row()
self.assertEqual(len(row),
Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/20503#discussion_r225844655
--- Diff: python/pyspark/sql/tests.py ---
@@ -234,6 +234,10 @@ def test_empty_row(self):
row = Row()
self.assertEqual(len(row),
GitHub user ashashwat opened a pull request:
https://github.com/apache/spark/pull/20503
[SPARK-23299][SQL][PYSPARK] Fix __repr__ behaviour for Rows.
## What changes were proposed in this pull request?
Fix \_\_repr\_\_ behaviour for Rows.
Rows \_\_repr\_\_ assumes da