[GitHub] spark pull request #20503: [SPARK-23299][SQL][PYSPARK] Fix __repr__ behaviou...

2018-10-17 Thread HyukjinKwon
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] spark pull request #20503: [SPARK-23299][SQL][PYSPARK] Fix __repr__ behaviou...

2018-10-17 Thread HyukjinKwon
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] spark pull request #20503: [SPARK-23299][SQL][PYSPARK] Fix __repr__ behaviou...

2018-10-17 Thread HyukjinKwon
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] spark pull request #20503: [SPARK-23299][SQL][PYSPARK] Fix __repr__ behaviou...

2018-10-17 Thread HyukjinKwon
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()

[GitHub] spark pull request #20503: [SPARK-23299][SQL][PYSPARK] Fix __repr__ behaviou...

2018-10-17 Thread HyukjinKwon
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()

[GitHub] spark pull request #20503: [SPARK-23299][SQL][PYSPARK] Fix __repr__ behaviou...

2018-02-04 Thread ashashwat
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