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), 0)
     
    +    def test_row_without_column_name(self):
    +        row = Row("Alice", 11)
    --- End diff --
    
    Can we add a doctest for this usage (Row as objects not as a namedtuple 
class), and documentation in `Row` at `types.py`?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to