You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Redshift unfortunately does not have functionality for IF NOT EXISTS, so the temporary table creation fails when passing custom sql to a Redshift SQLAlchemy engine. It seems like the options are here are to introspect the engine and special-case Redshift (seems harder to maintain), to remove the IF NOT EXISTS for everyone and let the custom sql fail if the table exists (I think I'd expect this behavior as a user anyway), or to not support custom_sql for Redshift.
The text was updated successfully, but these errors were encountered:
If the maintainers have thoughts on which approach makes the most sense for the library, I'm happy to take a stab at this next week as well. I'm hoping to make some contributions to this library for Hacktoberfest :)
Redshift unfortunately does not have functionality for
IF NOT EXISTS
, so the temporary table creation fails when passing custom sql to a Redshift SQLAlchemy engine. It seems like the options are here are to introspect the engine and special-case Redshift (seems harder to maintain), to remove theIF NOT EXISTS
for everyone and let the custom sql fail if the table exists (I think I'd expect this behavior as a user anyway), or to not support custom_sql for Redshift.The text was updated successfully, but these errors were encountered: