ReadClient throws on null values #518
Labels
api: bigquerystorage
Issues related to the googleapis/nodejs-bigquery-storage API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
https://github.com/googleapis/nodejs-bigquery-storage/blob/main/src/reader/arrow_transform.ts#L146 this can be
null
andnull
is an object, which causes nullable fields to throw. For example in this case:Then it gets passed to https://github.com/googleapis/nodejs-bigquery-storage/blob/main/src/reader/arrow_transform.ts#L159 and enter the object path because
typeof null === 'object'
istrue
then break onObject.keys(null)
in https://github.com/googleapis/nodejs-bigquery-storage/blob/main/src/reader/arrow_transform.ts#L168The text was updated successfully, but these errors were encountered: