Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(csharp/src/Drivers/BigQuery): return null on GetValue exception #1562

Merged
merged 3 commits into from
Feb 22, 2024

Conversation

davidhcoe
Copy link
Contributor

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.

@CurtHagenlocher CurtHagenlocher merged commit fa8498f into apache:main Feb 22, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants