mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-04 14:44:02 +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"},
|
||||
"redshift": sql_common | {"sqlalchemy-redshift", "psycopg2-binary", "GeoAlchemy2"},
|
||||
"sagemaker": aws_common,
|
||||
"snowflake": sql_common | {"snowflake-sqlalchemy"},
|
||||
"snowflake-usage": sql_common | {"snowflake-sqlalchemy"},
|
||||
"snowflake": sql_common | {"snowflake-sqlalchemy<=1.2.4"},
|
||||
"snowflake-usage": sql_common | {"snowflake-sqlalchemy<=1.2.4"},
|
||||
"superset": {"requests"},
|
||||
}
|
||||
|
||||
@ -188,6 +188,7 @@ full_test_dev_requirements = {
|
||||
"mongodb",
|
||||
"mssql",
|
||||
"mysql",
|
||||
"snowflake",
|
||||
]
|
||||
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():
|
||||
from datahub.ingestion.source.snowflake import SnowflakeConfig
|
||||
|
||||
config = SnowflakeConfig.parse_obj(
|
||||
{
|
||||
"username": "user",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user