-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sql: support features used by Hibernate #16491
Comments
Can you bucket these by how many tests are failing because of these issues? Perhaps two categories, such as "frequent failure" and "infrequent failure", would be sufficient. I believe this would help the prioritization of these issues. |
Yeah, sounds good. At the moment I have them roughly sorted by how many failures I estimate they cause (top causing the most), but it's very rough. |
Do we need savepoint support (#10735) for Hibernate? |
User @Linitha on Gitter ran into the int4/int problem: https://gitter.im/cockroachdb/cockroach?at=5b2a9a626ceffe4eba1d2e24
|
cc @knz |
@Linitha @tschottdorf we plan to work on that as #26925. |
Zendesk ticket #2504 has been linked to this issue. |
Comment made from Zendesk by Tim O'Brien on 2018-08-11 at 18:22:
|
Comment made from Zendesk by Tim O'Brien on 2018-08-11 at 18:23:
|
This feels like it's outlived its usefulness - cc @rafiss @solongordon maybe want to close this one? |
Yes we don't need this now. For anyone else looking here, please try out the CockroachDBDialect in Hibernate, and let us know if you have issues. |
There's a number of queries issued by the Hibernate test suite that we don't execute properly or cannot parse (for various different reasons), this issue tracks them as they're found and fixed. This list is incomplete and growing as we find more:
Most important:
information_schema._pg_expandarray
- sql: support Hibernate's use of _pg_expandarray #16971Mildly more important:
time
datatype - sql: time datatype #16490CREATE TEMPORARY TABLE ...
- sql: Add support for TEMP tables #5807SERIAL
types into an int, which fails if they are too large -testDirectIdPropertyAccess
-sql: Hibernate tries to load SERIAL types into an int #226071::int + float::int
) -testQuotientConversion
-sql: Hibernate's use of int/float operations #24063Mildly less important:
ALL
operator with subqueries (rather than just arrays) -testEqualAll
- sql: ANY/ALL with subqueries #17662testCollectionIsEmptyCriteria
testConstructorResultNativeQuery
- sql: support Postgres syntax names for all types #14493int
in a dialect, but just doing this seems to break Hibernate's type inference.current_time
-testDateTimeFunctions
- sql: timetz datatype #20944SELECT ... FOR UPDATE
- can be worked around via a dialect - sql: explicit lock syntax (SELECT FOR {SHARE,UPDATE} {skip locked,nowait}) #6583Other:
Some of them would probably be better to fix in CockroachDB itself (like temporary tables) and some would be better fixed by a custom Hibernate dialect, and some might be infeasible to fix at all at present.
The text was updated successfully, but these errors were encountered: