Skip to content

Not possible to use "insert_all" #39

@dbackeus

Description

@dbackeus

Attempting to use the insert_all API from ActiveRecord results in:
ArgumentError: ActiveRecord::ConnectionAdapters::RedshiftAdapter does not support skipping duplicates

Attempting to bypass the uniqueness check by passing unique_by: [] results in:
ArgumentError: ActiveRecord::ConnectionAdapters::RedshiftAdapter does not support :unique_by

It makes sense that Redshift can't support skipping duplicates. But perhaps it would be possible to bypass the duplicate check altogether.

Any thoughts or suggestions for workarounds?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions