Closed pelageech closed 3 weeks ago
Do you want to check on SDK side the negative value and fail or success if positive value?
Do you want to check on SDK side the negative value and fail or success if positive value?
Sorry, haven't got your question. Can you explain a little bit? :)
So funny to find a bug unexpectedly for myself😁
Fixed in release v3.74.2
From internal meeting: we dont want to allow scan from signed integers to unsigned integers
Feature Request
Describe the Feature Request If I scan a row and get an error connected with column scan, I want to see which column is not scanned properly. Specifically in our project we are moving from v2 to v3. However, we are faced with the problem that the types returned by YDB cannot be mapped to the types that I have defined in the code. I often have a lot of the same types in my code. It is extremely difficult to understand from the query which column returned which type. Because of this, you have to randomly change the types to the types that the database returns.
Example query:
Example Go code:
I get an error
Describe Preferred Solution I'd like to see something like that
Additional Context The issue is inspired by sqlite3 driver, there is something similar there.
If the feature request is approved, would you be willing to submit a PR? Yes