I have a piece of code that dumps a dataframe with 30k rows into a table on my Vertica database. But since its taking way too long to run, I'm trying to use fast_executemany parameter of sqlalchemy.
engine = sa.create_engine(('vertica+pyodbc:///?odbc_connect=DRIVER%3D%7Bvertica%7D%3BSERVER%3Djsvertica%3BDATABASE%3Dpw%3BUID%3Dusername%3BPWD%password%3B'),
fast_executemany=True,)# connecting to Vertica using SQL Alchemy
But I'm getting this error:
Invalid argument(s) 'fast_executemany' sent to create_engine(),
using configuration VerticaDialect/QueuePool/Engine.
Please check that the keyword arguments are appropriate for this combination of components.
What am I doing wrong?