Skip to content

Commit cb7a53a

Browse files
authored
bugfix/fix databricks volumes table uploader precheck (#431)
* fix databricks volumes table uploader precheck * update changelog * drop print statement * modify version
1 parent 182541e commit cb7a53a

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
## 0.5.16
1+
## 0.5.16-dev0
22

3-
Zendesk fix for debug
3+
### Fixes
4+
5+
* **Fix databricks volumes table uploader precheck**
6+
* **Zendesk fix for debug**
47

58
## 0.5.15
69

unstructured_ingest/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.5.16" # pragma: no cover
1+
__version__ = "0.5.16-dev0" # pragma: no cover

unstructured_ingest/v2/processes/connectors/databricks/volumes_table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def precheck(self) -> None:
6161
self.upload_config.database, ", ".join(databases)
6262
)
6363
)
64-
cursor.execute("SHOW TABLES")
64+
cursor.execute(f"SHOW TABLES IN {self.upload_config.database}")
6565
table_names = [r[1] for r in cursor.fetchall()]
6666
if self.upload_config.table_name not in table_names:
6767
raise ValueError(

0 commit comments

Comments
 (0)