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?
Attempting to use the insert_all API from ActiveRecord results in:
ArgumentError: ActiveRecord::ConnectionAdapters::RedshiftAdapter does not support skipping duplicatesAttempting to bypass the uniqueness check by passing
unique_by: []results in:ArgumentError: ActiveRecord::ConnectionAdapters::RedshiftAdapter does not support :unique_byIt 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?