pan3793 commented on PR #4880:
URL: https://github.com/apache/zeppelin/pull/4880#issuecomment-2422987215
BTW, I also tested with higher Spark versions, it failed with Spark 3.3
onwards
```
[ERROR] Failures:
[ERROR] LivyInterpreterIT.testPySparkInterpreter:408 %text 'JavaPackage'
object is not callable
Traceback (most recent call last):
File
"/home/chengpan/app/spark-3.3.4-bin-hadoop3/python/lib/pyspark.zip/pyspark/sql/session.py",
line 894, in createDataFrame
return self._create_dataframe(
File
"/home/chengpan/app/spark-3.3.4-bin-hadoop3/python/lib/pyspark.zip/pyspark/sql/session.py",
line 936, in _create_dataframe
rdd, struct = self._createFromLocal(map(prepare, data), schema)
File
"/home/chengpan/app/spark-3.3.4-bin-hadoop3/python/lib/pyspark.zip/pyspark/sql/session.py",
line 631, in _createFromLocal
struct = self._inferSchemaFromList(data, names=schema)
File
"/home/chengpan/app/spark-3.3.4-bin-hadoop3/python/lib/pyspark.zip/pyspark/sql/session.py",
line 516, in _inferSchemaFromList
prefer_timestamp_ntz = is_timestamp_ntz_preferred()
File
"/home/chengpan/app/spark-3.3.4-bin-hadoop3/python/lib/pyspark.zip/pyspark/sql/utils.py",
line 300, in is_timestamp_ntz_preferred
return jvm is not None and jvm.PythonSQLUtils.isTimestampNTZPreferred()
TypeError: 'JavaPackage' object is not callable
```
--
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]