activerecord4-redshift-adapter
activerecord4-redshift-adapter copied to clipboard
ActiveRecord 4 DB adapter for Amazon Redshift
The PGconn, PGresult, and PGError constants are deprecated, and will be removed as of version 1.0. You should use PG::Connection, PG::Result, and PG::Error instead, respectively.
Hi, I'm trying to use the adapter in Rails 4 but there's a bug quite weird which prevent me from using it correctly. When I'm creating a new record or...
There is `timeout` config in config example, but it looks it won't be used, flow this line: https://github.com/aamine/activerecord4-redshift-adapter/blob/1b17aa7980eabe14bb393648949f5e2e46722c4f/lib/active_record/connection_adapters/redshift_adapter.rb#L23 `timeout` is not a valid config so. I think it should be...
This is a fix for https://github.com/aamine/activerecord4-redshift-adapter/issues/31 This also allows migrations to succeed, whether or not you already have an `schema_migrations` table.
## Overview Running `rake db:migrate` against an existing redshift db fails. This is the first migration in the project, and it is failing to create the `version` column of the...
Added originally to kushkella's repo https://github.com/kushkella/activerecord4-redshift-adapter/pull/1 This method is no longer used but is attempted to be called and there is no array to any "column"
This adds `sortkey`, `distkey` options for columns in tables newly created. ``` ruby create_table :products, id: false do |t| t.string :product_id, limit: 256, sortkey: true, distkey: true end # =>...
Hello - I'm soon going to deploy company's RedShift data warehouse and this gem is a major dependency both for querying and running database migrations. I identified few issues that...
https://github.com/aamine/activerecord4-redshift-adapter/blob/master/lib/active_record/connection_adapters/redshift_adapter.rb#L247 runs `DISCARD ALL`, but that's not valid in Redshift, so it throws an exception instead: ``` # DISCARD ALL; ERROR: syntax error at or near "DISCARD" LINE 1: DISCARD...
I don't know if this is the underlying issue for https://github.com/aamine/activerecord4-redshift-adapter/issues/7 , but I've found that when I fetch an object the display from `inspect()` does not show the ID...