diff --git a/src/permifrost/snowflake_connector.py b/src/permifrost/snowflake_connector.py index 77d446b9..5e7a7a3c 100644 --- a/src/permifrost/snowflake_connector.py +++ b/src/permifrost/snowflake_connector.py @@ -380,9 +380,9 @@ def snowflaky(name: str) -> str: # We do not currently support identifiers that include periods (i.e. db_1.schema_1."table.with.period") if len(name_parts) > 3: - warnings.warn( - f"Unsupported object identifier: {name} contains additional periods within identifier.", - SyntaxWarning, + logger.debug( + "Unsupported object identifier: %s contains additional periods within identifier.", + name, ) if len(name_parts) == 0: diff --git a/tests/permifrost/test_snowflake_connector.py b/tests/permifrost/test_snowflake_connector.py index 3c5a95af..a83db692 100644 --- a/tests/permifrost/test_snowflake_connector.py +++ b/tests/permifrost/test_snowflake_connector.py @@ -1,4 +1,6 @@ +import logging import os +import warnings import pytest import sqlalchemy @@ -91,7 +93,9 @@ def test_snowflaky(self): == 'database_1."1_LEADING_DIGIT".