Open selfnewlin opened 5 years ago
I have no idea why i was logged is as newlin... But that issue was created by me
¯\(ツ)/¯
crossposted from another issue i wrote up
After attempting to update to update to rails 5. I've found an incompatibility issue with the gem:
AR JDBC Adapter and the newest ActiveRecord 5.1.
The core of the issue is found in this open issue for that gem ARJBDC adapter issue. Where they state that only a few database types are currently supported. Not on that list is Vertica. Which means we would need to add that ability ourselves.
From what I've been able to hunt down the specific errors are:
lookup_cast_type(column.sql_type)
. The column.sql_type
method is failing due to undefined method sql_type for #My best guess at a viable solution for this would be to update our vertica adapter gem to provide the functionality we need for AR 5 and ARJDBC 51.2.
However, my knowledge of AR and JDBC aren't superb so i'm hoping to enlist help from some people who do have the know-how.
The activerecord-jdbc-adapter gem for rails 5.1+ has some substantial changes with how they structure the adapters and this gem would need to be updated to work with newer versions of Rails.