You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
java.lang.NullPointerException
at com.google.common.base.Preconditions.checkNotNull (Preconditions.java:878)
at com.google.cloud.bigquery.Field.<init> (Field.java:256)
at com.google.cloud.bigquery.Field.<init> (Field.java:37)
at com.google.cloud.bigquery.Field$Builder.build (Field.java:250)
at com.google.changestreams.sample.bigquery.BigQueryClientTesting.main (BigQueryClientTesting.java:14)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:254)
at java.lang.Thread.run (Thread.java:829)
Any additional information below
It looks like the client is always trying to convert the Field type from StandardSQLTypeName to LegacySQLTypeName, but there isn't an ARRAY in LegacySQLTypeName, causing the type to be null, which shouldn't be. How do we specify ARRAY type then?
Environment details
I am using client version 2.6.1 from MVN: https://mvnrepository.com/artifact/com.google.cloud/google-cloud-bigquery/2.6.1
Steps to reproduce
Please simply run the code example below.
Code example
Stack trace
Any additional information below
It looks like the client is always trying to convert the Field type from
StandardSQLTypeNametoLegacySQLTypeName, but there isn't anARRAYinLegacySQLTypeName, causing the type to be null, which shouldn't be. How do we specifyARRAYtype then?java-bigquery/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Field.java
Line 189 in dfa15e5