zhengruifeng commented on code in PR #39602:
URL: https://github.com/apache/spark/pull/39602#discussion_r1070927723
##########
python/pyspark/sql/connect/session.py:
##########
@@ -299,9 +296,9 @@ def createDataFrame(
# we need to convert it to [[1], [2], [3]] to be able to infer
schema.
_data = [[d] for d in _data]
- try:
- _inferred_schema = self._inferSchemaFromList(_data, _cols)
- except Exception:
+ _inferred_schema = self._inferSchemaFromList(_data, _cols)
Review Comment:
changes in this file is to match the error thrown in `test_array_types`
--
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]