Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upSchema inference not supported on CockroachDB #523
Comments
This comment has been minimized.
|
Duplicate of #1134, so one of them can be closed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jethrogb commentedDec 5, 2016
•
edited
Thanks to CockroachDB's protocol compatibility, it almost works out of the box. There are just some minor things that need fixing:
information_schema.columns.data_typevalues are different.INTisdiesel::types::BigIntSTRINGisdiesel::types::TextYou can detect CockroachDB like so:
SELECT version() LIKE 'CockroachDB%';Of course, to make the example code work with BigInt, I also needed to change the Rust datatype in the model and code to
i64.