Skip to content

Commit

Permalink
SNOW-69940: Fixed relative connector import to absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
smtakeda authored and ankit-bhatnagar167 committed Mar 26, 2019
1 parent 80191ba commit cc2de9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions snowdialect.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
SnowflakeDDLCompiler, SnowflakeCompiler, SnowflakeExecutionContext, SnowflakeIdentifierPreparer,
SnowflakeTypeCompiler
)
from ..connector.constants import UTF8
from snowflake.connector.constants import UTF8
from .custom_types import (
TIMESTAMP_LTZ, TIMESTAMP_TZ, TIMESTAMP_NTZ, VARIANT, OBJECT, ARRAY
)
from ..connector import errors as sf_errors
from snowflake.connector import errors as sf_errors

colspecs = {}

Expand Down Expand Up @@ -555,4 +555,4 @@ def get_schema_names(self, connection, **kw):

return [self.normalize_name(row[1]) for row in cursor]

dialect = SnowflakeDialect
dialect = SnowflakeDialect
2 changes: 1 addition & 1 deletion util.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from sqlalchemy import exc

from ..connector.compat import (PY2, IS_STR)
from snowflake.connector.compat import (PY2, IS_STR)

if PY2:
from urllib import quote_plus
Expand Down

0 comments on commit cc2de9c

Please sign in to comment.