mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-07 16:14:40 +00:00
fix(ingest): pin snowflake sqlalchemy connector (#2923)
This commit is contained in:
parent
416f2a95df
commit
5f0b4464f5
@ -97,8 +97,8 @@ plugins: Dict[str, Set[str]] = {
|
|||||||
"postgres": sql_common | {"psycopg2-binary", "GeoAlchemy2"},
|
"postgres": sql_common | {"psycopg2-binary", "GeoAlchemy2"},
|
||||||
"redshift": sql_common | {"sqlalchemy-redshift", "psycopg2-binary", "GeoAlchemy2"},
|
"redshift": sql_common | {"sqlalchemy-redshift", "psycopg2-binary", "GeoAlchemy2"},
|
||||||
"sagemaker": aws_common,
|
"sagemaker": aws_common,
|
||||||
"snowflake": sql_common | {"snowflake-sqlalchemy"},
|
"snowflake": sql_common | {"snowflake-sqlalchemy<=1.2.4"},
|
||||||
"snowflake-usage": sql_common | {"snowflake-sqlalchemy"},
|
"snowflake-usage": sql_common | {"snowflake-sqlalchemy<=1.2.4"},
|
||||||
"superset": {"requests"},
|
"superset": {"requests"},
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -188,6 +188,7 @@ full_test_dev_requirements = {
|
|||||||
"mongodb",
|
"mongodb",
|
||||||
"mssql",
|
"mssql",
|
||||||
"mysql",
|
"mysql",
|
||||||
|
"snowflake",
|
||||||
]
|
]
|
||||||
for dependency in plugins[plugin]
|
for dependency in plugins[plugin]
|
||||||
),
|
),
|
||||||
|
|||||||
@ -1,7 +1,10 @@
|
|||||||
from datahub.ingestion.source.snowflake import SnowflakeConfig
|
import pytest
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.integration
|
||||||
def test_snowflake_uri():
|
def test_snowflake_uri():
|
||||||
|
from datahub.ingestion.source.snowflake import SnowflakeConfig
|
||||||
|
|
||||||
config = SnowflakeConfig.parse_obj(
|
config = SnowflakeConfig.parse_obj(
|
||||||
{
|
{
|
||||||
"username": "user",
|
"username": "user",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user