Do not overwrite local Spark cache when loading SparkML models as spark_udf. (#3193)
Do not overwrite local Spark cache when loading SparkML models as spark_udf. (#3193)

* Add conf to newlg created spark context to prevent overwriting cache when running inside spark.

Signed-off-by: tomasatdatabricks <5cd2b9fe99214ad7557c403fc2efc2af9a1dc682@databricks.com>

* Added comment explaining why we disable cache.

Signed-off-by: tomasatdatabricks <5cd2b9fe99214ad7557c403fc2efc2af9a1dc682@databricks.com>
mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow,mlflow/mlflow