BigQueryResultImpl.getDouble throws ClassCastException if read API is used #2905
Labels
api: bigquery
Issues related to the googleapis/java-bigquery 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.
Line causing the issue:
java-bigquery/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/BigQueryResultImpl.java
Line 340 in 8f85a4d
Steps to reproduce
Call
getDouble
in a read API path result set.Can be reproduced by adding the following test to
ITBigQueryTest
(copied fromtestReadAPIIterationAndOrderAsync
with minor changes):Stack trace
Workaround
Adding
setUseReadAPI(false)
to force-avoid read API:References
Internal b/300130086
The text was updated successfully, but these errors were encountered: