Skip to content

Commit be1d59e

Browse files
committed
fix databricks config
1 parent 0ab0016 commit be1d59e

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

cli/dataforge/databricks_sql.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ def validate(self):
6262
validate_value(self.config,'access_token')
6363
validate_value(self.config,'catalog')
6464
validate_value(self.config, 'schema')
65-
self.execute("SELECT 1 as i;", mode='test') # execute test query
65+
self.execute("SELECT 1 as i", mode='test') # execute test query

cli/dataforge/main.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import sys
2-
31
from .importProject import ImportProject
42
from .mainConfig import MainConfig
53

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ dependencies = [
1616
"pyspark",
1717
"importlib_resources",
1818
"databricks-sql-connector",
19-
"sql-formatter"
19+
"sql-formatter",
20+
"psutil"
2021
]
2122
[tool.setuptools.packages.find]
2223
# All the following settings are optional:

0 commit comments

Comments
 (0)