Redshift COPY operation doesn't work in SQLAlchemy

后端 未结 3 734
隐瞒了意图╮
隐瞒了意图╮ 2021-01-17 19:18

I\'m trying to do a Redshift COPY in SQLAlchemy.

The following SQL correctly copies objects from my S3 bucket into my Redshift table when I execute it in psql:

3条回答
  •  北恋
    北恋 (楼主)
    2021-01-17 20:10

    Add a commit to the end of the copy worked for me:

    ;commit;
    

提交回复
热议问题