I am pushing pandas dataframe in redshift table and getting following error
cur.execute("INSERT INTO sir_main VALUES " + str(args_str))
psycopg2.ProgrammingError: Statement is too large. Statement Size: 58034743
bytes. Maximum Allowed: 16777216 bytes`
And it halts the execution. Is there any way to configure the limit while pushing into database?