INET fields are always decoded as null
See original GitHub issueHi,
I am trying to execute a select query in a transaction using a prepared statement and a createStream
method. One of the columns in a query has an INET
type. During the select for each row I am getting the following warning in my logger:
WARN i.r.p.impl.codec.DataTypeCodec - Data type INET does not support binary decoding
When I am calling getValue with either a column index or an alias, for my INET
column I am always getting null as a result. As far as I can tell, INET
type is not handled in a decodeBinary
method, and it falls back to a default branch which returns null.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
INET fields are always decoded as null · Issue #257 - GitHub
Hi, I am trying to execute a select query in a transaction using a prepared statement and a createStream method. One of the...
Read more >Swift Codable null handling - Stack Overflow
A null value (no string) is treated as nil by default so the decoding is supposed to succeed if the property is optional....
Read more >How to determine if a JSON key has been set to null or not ...
Learn to distinguish between when a JSON key is set to null or the key wasn't ... That field will always be present,...
Read more >[Pitch] JSONDecoder.nullDecodingStrategy - Swift Forums
I would like to propose an additive change to include a decoding ... a payload containing an explicit null or the field being...
Read more >Decoding · zio-json
If a case class field is defined with a default value and the field is not present or null , the default value...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lordvlad have a look at https://github.com/eclipse-vertx/vertx-sql-client/pull/993
great,
you will need to sign the Eclipse Contributor Agreement, as this project is going to be part of Eclipse Vert.x in the future.
Julien