Closed lazyhope closed 6 months ago
With the new SQLAlchemy 2.0 version ImpalaDialect.get_columns is broken, since connection.execute('plain_text') is deprecated and should be replaced with connection.execute(text('plain_text')) where text is imported from sqlalchemy, so this line and any other connection.execute would fail: https://github.com/cloudera/impyla/blob/747e1da3d0df6abae9beb633cb9ebdd6f210ad30/impala/sqlalchemy.py#L264
ImpalaDialect.get_columns
connection.execute('plain_text')
connection.execute(text('plain_text'))
text
sqlalchemy
connection.execute
fixed in d6582ad
With the new SQLAlchemy 2.0 version
ImpalaDialect.get_columns
is broken, sinceconnection.execute('plain_text')
is deprecated and should be replaced withconnection.execute(text('plain_text'))
wheretext
is imported fromsqlalchemy
, so this line and any otherconnection.execute
would fail: https://github.com/cloudera/impyla/blob/747e1da3d0df6abae9beb633cb9ebdd6f210ad30/impala/sqlalchemy.py#L264