I just found that I could add a before_creation listener to the default 
Table object.
However; I would like to still discuss possibly overwriting the methods in 
the default SchemaGenerator.

On Monday, February 11, 2019 at 1:33:39 PM UTC-8, [email protected] 
wrote:
>
> Hi,
>
> I'm working on a bug that emerges when a user tries to use Pandas and 
> SQLAlchemy with a Snowflake database and tries to push a data frame to the 
> database.
> I'm trying to disallow users from submitting a "CREATE INDEX ..." SQL 
> commands to snowflake, which pandas tries to do by default, but Snowflake 
> does not allow.
> Is there a way to dynamically dispatch the SchemaGenerator's visit_index 
> functions, or to disallow SQLAlchemy from sending index statements in the 
> SnowflakeDialect?
>
> Thanks a lot,
> Mark
>

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to