abrandoned / activerecord-jdbcvertica-adapter

MIT License
3 stars 5 forks source link

columns method returns wrong results for table "users" #2

Closed brianstien closed 10 years ago

brianstien commented 10 years ago

When requesting the columns table called "users", the columns returned are the column names from the table created, along with the columns from the vertica system table called "users" (in the v_catalog schema).

# create a table called users
create_table "users" do |t|
  t.string :foobar
end

# returns the columns from v_catalog.users, along with our column names
puts ActiveRecord::Base.connection.columns("users").map(&:name)
abrandoned commented 10 years ago

fixed with 0.0.4