grundprinzip commented on PR #80:
URL: https://github.com/apache/spark-connect-go/pull/80#issuecomment-2436181753
Would be good to add some additional tests for more recursive behavior:
```
>>> spark.sql("select map(1, 2), map(\"a\", 2)").printSchema()
root
|-- map(1, 2): map (nullable = false)
| |-- key: integer
| |-- value: integer (valueContainsNull = false)
|-- map(a, 2): map (nullable = false)
| |-- key: string
| |-- value: integer (valueContainsNull = false)
>>> spark.sql("select map(1, 2), map(\"a\", map(1, 2))").printSchema()
root
|-- map(1, 2): map (nullable = false)
| |-- key: integer
| |-- value: integer (valueContainsNull = false)
|-- map(a, map(1, 2)): map (nullable = false)
| |-- key: string
| |-- value: map (valueContainsNull = false)
| | |-- key: integer
| | |-- value: integer (valueContainsNull = false)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]