From 58c3ba520572b8766d22a451601ddd6d1690c376 Mon Sep 17 00:00:00 2001 From: sllynn Date: Fri, 29 Nov 2024 18:47:18 +0000 Subject: [PATCH] case class signature changed --- .github/actions/scala_build/action.yml | 3 --- python/mosaic/core/library_handler.py | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/actions/scala_build/action.yml b/.github/actions/scala_build/action.yml index 6304cb4dc..792c14451 100644 --- a/.github/actions/scala_build/action.yml +++ b/.github/actions/scala_build/action.yml @@ -37,11 +37,8 @@ runs: if: inputs.skip_tests == 'false' shell: bash run: | - readlink -f $(which python3) source /databricks/python3/bin/activate readlink -f $(which python3) - echo $PATH - /databricks/python3/bin/python3 -c 'import numpy as np; print(np.__version__)' python3 -c 'import numpy as np; print(np.__version__)' sudo mvn -q clean install - name: Build the scala JAR - skip tests is true diff --git a/python/mosaic/core/library_handler.py b/python/mosaic/core/library_handler.py index 8b4d81ddf..d330e20d1 100644 --- a/python/mosaic/core/library_handler.py +++ b/python/mosaic/core/library_handler.py @@ -35,7 +35,7 @@ def auto_attach_enabled(self) -> bool: if self._auto_attached_enabled is None: try: result = ( - self.spark.conf.get("spark.databricks.labs.mosaic.jar.autoattach") + self.spark.conf.get("spark.databricks.labs.mosaic.jar.autoattach", "true") == "true" ) except Py4JJavaError as e: @@ -94,6 +94,7 @@ def auto_attach(self): NoVersionModule.simpleString(), optionModule.apply(None), optionModule.apply(None), + optionModule.apply(None), ) except: lib = JavaJarId(