Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/22140
  
    @BryanCutler, for 
https://github.com/apache/spark/pull/22140#issuecomment-414802978, yea, to me 
it looks less sense actually but seems at least working for now:
    
    ```python
    from pyspark.sql import Row
    rowClass = Row("c1", "c2")
    spark.createDataFrame([rowClass(1)]).show()
    ```
    
    ```
    +---+
    | c1|
    +---+
    |  1|
    +---+
    ```
    
    I think we should consider disallowing it in 3.0.0 given the test above.


---

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

Reply via email to