SNOW-1843517: Double the amount of queries executed during table reflection in update 1.7.0 #554
Labels
bug
Something isn't working
status-fixed_awaiting_release
The issue has been fixed, its PR merged, and now awaiting the next release cycle of the connector.
status-triage_done
Initial triage done, will be further handled by the driver team
Please answer these questions before submitting your issue. Thanks!
What version of Python are you using?
3.11.8
What operating system and processor architecture are you using?
Linux
What are the component versions in the environment (
pip freeze
)?snowflake-sqlalchemy = "1.7.0"
What did you do?
After the latest update to
1.7.0
, we began seeing double the number of queries for each reflection. We believe it is due to theget_multi_prefixes
function in snowdialect.py.What did you expect to see?
We would expect no changes, but this doubled reflection time. For small amounts of tables this isn't an issue, but we have a big project where we are reflecting hundreds of tables.
The text was updated successfully, but these errors were encountered: