We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f215f0 commit 4176d16Copy full SHA for 4176d16
discoverx/dx.py
@@ -40,7 +40,8 @@ def __init__(
40
self.logger = logging.Logging()
41
42
self.rules = Rules(custom_rules=custom_rules, locale=locale)
43
- self.uc_enabled = self.spark.conf.get("spark.databricks.unityCatalog.enabled", "false") == "true"
+ self.uc_enabled = (os.getenv("IS_SERVERLESS", "FALSE").lower() == "true" or self.spark.conf.get(
44
+ "spark.databricks.unityCatalog.enabled", "false") == "true")
45
46
self.scanner: Optional[Scanner] = None
47
self._scan_result: Optional[ScanResult] = None
0 commit comments