Skip to content
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: Hibernate's use of int/float operations #24063

Closed
vivekmenezes opened this issue Mar 20, 2018 · 2 comments
Closed

sql: Hibernate's use of int/float operations #24063

vivekmenezes opened this issue Mar 20, 2018 · 2 comments
Labels
A-sql-pgcompat Semantic compatibility with PostgreSQL C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) no-issue-activity X-stale

Comments

@vivekmenezes
Copy link
Contributor

vivekmenezes commented Mar 20, 2018

@justinj to fill out what this is about.

@justinj
Copy link
Contributor

justinj commented Mar 20, 2018

Basically there are some operations that Hibernate does that relies on Postgres' implicit conversions (for say, 1::INT + 1::FLOAT). I don't remember offhand what the context for those are, but it's exercised by testQuotientConversion in the Hibernate test suite.

I didn't dig deep enough into this issue in particular to figure out if this could be resolved just by our adding an overload for + for int + float and float + int and other similar situations, though.

@knz knz changed the title sql: int/float operations sql: Hibernate's use of int/float operations Apr 23, 2018
@knz knz added A-sql-pgcompat Semantic compatibility with PostgreSQL C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) labels Apr 23, 2018
@github-actions
Copy link

github-actions bot commented Jun 7, 2021

We have marked this issue as stale because it has been inactive for
18 months. If this issue is still relevant, removing the stale label
or adding a comment will keep it active. Otherwise, we'll close it in
5 days to keep the issue queue tidy. Thank you for your contribution
to CockroachDB!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sql-pgcompat Semantic compatibility with PostgreSQL C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) no-issue-activity X-stale
Projects
None yet
Development

No branches or pull requests

3 participants