-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(csharp/src/Drivers/BigQuery): return null on GetValue exception (#…
…1562) In a query such as `SELECT * FROM bigquery-public-data.fhir_synthea.explanation_of_benefit`, a number of items return null inside of the StructArray result. An exception is thrown from the underlying Arrow calls because we hit a scenario where Length and index are both 0, so an `ArgumentOutOfRangeException` is thrown per https://github.com/apache/arrow/blob/280bc112b23976d2f17c07c638bb62702ac89e8a/csharp/src/Apache.Arrow/Arrays/BinaryArray.cs#L356. --------- Co-authored-by: David Coe <coedavid@umich.edu>
- Loading branch information
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters