You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.O-supportWould prevent or help troubleshoot a customer escalation - bugs, missing observability/tooling, docs
Additional data / screenshots
If the problem is SQL-related, include a copy of the SQL query and the schema
of the supporting tables.
If a node in your cluster encountered a fatal error, supply the contents of the
log directories (at minimum of the affected node(s), but preferably all nodes).
Note that log files can contain confidential information. Please continue
creating this issue, but contact [email protected] to submit the log
files in private.
If applicable, add screenshots to help explain your problem.
Environment:
CockroachDB version 19.2.1
Server OS: Darwin Kernel Version 18.7.0: Sat Oct 12 00:02:19 PDT 2019; root:xnu-4903.278.12~1/RELEASE_X86_64 x86_64
Client app : cockroach demo
Additional context
doing non-distributed export and/or select on time field cast to timestamp will fail.
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
tim-o
added
O-support
Would prevent or help troubleshoot a customer escalation - bugs, missing observability/tooling, docs
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
labels
Nov 27, 2019
Kind of. Why are they trying to cast it to timestamp instead of time? I have not fixed timestamp because I don't think zero is a valid year, nor is a conversion from time to timestamp.
For context, 0000-01-01 a display bug/behaviour in lib/pq (a library we use for formatting). Ideally for lib/pq, time-only displays should not include 0000-01-01 but it does. but even in psql, you can't convert time to timestamp anyway:
otan=# select '10:11:12'::time::timestamp;
ERROR: cannot cast type time without time zone to timestamp without time zone
LINE 1: select '10:11:12'::time::timestamp;
C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.O-supportWould prevent or help troubleshoot a customer escalation - bugs, missing observability/tooling, docs
Describe the problem
parsing a time as timestamp will fail on 0000 year. Time field will prepend '0000-01-01' if not defined and parsing will fail.
Please describe the issue you observed, and any steps we can take to reproduce it:
To Reproduce
the following works
the following will fail
What did you do? Describe in your own words.
If possible, provide steps to reproduce the behavior:
Expected behavior
Expect an output similar to:
Additional data / screenshots
If the problem is SQL-related, include a copy of the SQL query and the schema
of the supporting tables.
If a node in your cluster encountered a fatal error, supply the contents of the
log directories (at minimum of the affected node(s), but preferably all nodes).
Note that log files can contain confidential information. Please continue
creating this issue, but contact [email protected] to submit the log
files in private.
If applicable, add screenshots to help explain your problem.
Environment:
Additional context
doing non-distributed export and/or select on time field cast to timestamp will fail.
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: