mxmzdlv opened a new pull request #3741: Fix has_table method
URL: https://github.com/apache/incubator-superset/pull/3741
 
 
   Dialect's has_table method requires connection as the first argument, not 
engine 
(https://github.com/zzzeek/sqlalchemy/blob/master/lib/sqlalchemy/engine/interfaces.py#L454).
 
   
   Instead, we can use engine's has_table method that handles the connection 
for us 
(https://github.com/zzzeek/sqlalchemy/blob/master/lib/sqlalchemy/engine/base.py#L2141).
 Alternatively, we could call engine.dialect.has_table(engine.connect(), ...).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to