-
Error while executing
execute_query_pysparkandget_data_with_headers_pysparkmethods:
ERROR: error occured while retrieving the data as PySpark dataframe.Use the "execute_query" method to get the data. 'DataFrame' object has no attribute 'iteritems'Solution:
- Upgrading the Databricks Runtime Version of the databricks cluster to a version compatible with Spark 3.4 (DBR 13.x or later).
- Downgrading pandas to version lower than 2.0 -
If you get an error similar to the below image while running
deploy_to_kymamethod, please ensure that you have a python version compatible with the latest version of mlflow which can be found here and install the latest version of mlflow.