Unexpected results of TIME
value under JDBC
#101591
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
O-community
Originated from the community
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
X-blathers-triaged
blathers was able to find an owner
Projects
Describe the problem
Please describe the issue you observed, and any steps we can take to reproduce it:
Consider the following program:
I run this program with CLI and get an empty result:
But I get an non-empty result with JDBC driver, I write this program to reproduce this:
and get the result:
To Reproduce
I build CockroachDB from the latest commit version 51fcf79, I download the latest Postgres JDBC driver from https://jdbc.postgresql.org/download/postgresql-42.6.0.jar.
The command for java program is
java -cp postgresql-42.6.0.jar reproduce_cockroach.java database18.sql
Expected behavior
Should have same results with CLI and JDBC driver.
Environment:
Jira issue: CRDB-27044
The text was updated successfully, but these errors were encountered: