Closed rad-pat closed 3 months ago
@rad-pat Hi, maybe same with this issue https://github.com/datafuselabs/databend-jdbc/issues/232, it has been fixed and will be release in v0.2.8. If you want to use it early, you can build the jar by yourself.
Ah yes, could be the same issue, I had not spotted that one. I'll wait for next version and close if fixed 👍
Closing, this was fixed by #232
Originally logged as issue with Databend itself(https://github.com/datafuselabs/databend/issues/16074), but turns out it was client related. This SQL, when ran through DBeaver/JDBC driver gives null results for specific order.
How to Reproduce?
I'm attempting to write something to parse an interval string, but the query yields different/incorrect results depending on the order
When I run this, sometimes it will correctly parse the years for the first example as 1, or it sometimes reports null. This seems to depend on the order of the results and can be changed by altering the order BY.
Incorrect:
Correct: