ReadSession: selectedFields on null record coalesced to 0 value #2284
Labels
api: bigquerystorage
Issues related to the googleapis/java-bigquerystorage API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
Environment details
OS type and version: Linux, Ubuntu 22.04
Java version: 11
version(s): 2.41.1, 2.44.0
Steps to reproduce
Considering this table
With the following data
Reading the table with
AVRO
format without any selected fields gives the expected result:When now setting the selected fields to
["required", "optional.int"]
, the library returns the followingThe 1st record is expected to return
{"required": {"int": 0, "string": "0"}, "optional": null}
instead. Somehow its value gets coalesced into 0.The text was updated successfully, but these errors were encountered: