Details
-
Bug
-
Status: Resolved
-
P3
-
Resolution: Fixed
-
2.20.0
-
Patch
Description
field.setType(toStandardSQLTypeName(type).toString()); on line 310 of BigQueryUtils.java will fail with a java.lang.NullPointerException.
The cause is the construction around line 210 return BEAM_TO_BIGQUERY_TYPE_MAPPING.get(fieldType.getTypeName());
I believe the issue can be solved by adding the missing datatypes (CHAR, VARCHAR, NUMERIC, DATE, and BIT to the items on row 189