We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Testing new UUID binding and somehow get mismatching UUID back
@Test public void testUUIDBinding() throws SQLException { UUID uuid = UUID.fromString("0b17ce61-375c-4ad8-97b3-349d96d35ab1"); Connection conn = DriverManager.getConnection("jdbc:duckdb:"); PreparedStatement statement = conn.prepareStatement("select ? as value"); statement.setObject(1, uuid); ResultSet resultSet = statement.executeQuery(); Assertions.assertTrue(resultSet.next()); Object object = resultSet.getObject(1); Assertions.assertEquals(uuid, object); Assertions.assertFalse(resultSet.next()); }
And it fails with Assertions.assertEquals(uuid, object); check as:
Expected :0b17ce61-375c-4ad8-97b3-349d96d35ab1 Actual :8b17ce61-375c-4ad8-97b3-349d96d35ab1
Reproduce can be done with junit test above.
macOs arm64
0.10.0
JDBC
Marko Kattelus
Solita Oy
I have tested with a release build (and could not test with a nightly build)
The text was updated successfully, but these errors were encountered:
Just ran into the same problem. Ouch. Is there a fix underway?
Sorry, something went wrong.
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.
This issue was closed because it has been stale for 30 days with no activity.
This is a bit too severe to ignore, no?
No branches or pull requests
What happens?
Testing new UUID binding and somehow get mismatching UUID back
And it fails with Assertions.assertEquals(uuid, object); check as:
To Reproduce
Reproduce can be done with junit test above.
OS:
macOs arm64
DuckDB Version:
0.10.0
DuckDB Client:
JDBC
Full Name:
Marko Kattelus
Affiliation:
Solita Oy
Have you tried this on the latest nightly build?
I have tested with a release build (and could not test with a nightly build)
Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?
The text was updated successfully, but these errors were encountered: