Skip to content

Commit 3a545cc

Browse files
committed
Fix deps issue
1 parent 0403562 commit 3a545cc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

adi_function_app/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dependencies = [
2323
"pymupdf>=1.24.14",
2424
"aiohttp>=3.11.9",
2525
"pillow>=11.0.0",
26-
"numpy>=2.1.3",
26+
"numpy<2.0.0",
2727
"spacy>=3.7.5",
2828
"tiktoken>=0.8.0",
2929
"en-core-web-md @ https://github.com/explosion/spacy-models/releases/download/en_core_web_md-3.7.1/en_core_web_md-3.7.1.tar.gz"

text_2_sql/text_2_sql_core/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies = [
1414
"azure-search-documents==11.6.0b8",
1515
"jinja2>=3.1.4",
1616
"networkx>=3.4.2",
17-
"numpy>=2.1.3",
17+
"numpy<2.0.0",
1818
"openai>=1.55.3",
1919
"pydantic>=2.10.2",
2020
"python-dotenv>=1.0.1",
@@ -42,7 +42,7 @@ snowflake = [
4242
]
4343
databricks = [
4444
"databricks-sql-connector>=3.0.1",
45-
"pyarrow>=14.0.2",
45+
"pyarrow>=14.0.2,<17",
4646
]
4747

4848
[build-system]

text_2_sql/text_2_sql_core/src/text_2_sql_core/data_dictionary/databricks_data_dictionary_creator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def extract_table_entities_sql_query(self) -> str:
2929
t.TABLE_SCHEMA AS EntitySchema,
3030
t.COMMENT AS Definition
3131
FROM
32-
{self.catalog}.INFORMATION_SCHEMA.TABLES t'
32+
{self.catalog}.INFORMATION_SCHEMA.TABLES t
3333
"""
3434

3535
@property
@@ -47,7 +47,7 @@ def extract_columns_sql_query(self, entity: EntityItem) -> str:
4747
"""A property to extract column information from Databricks Unity Catalog."""
4848
return f"""SELECT
4949
COLUMN_NAME AS Name,
50-
DATA_TYPE AS Type,
50+
DATA_TYPE AS DataType,
5151
COMMENT AS Definition
5252
FROM
5353
{self.catalog}.INFORMATION_SCHEMA.COLUMNS

0 commit comments

Comments
 (0)