Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-10071

TableFieldSchema Conversion fails for beamschema

Details

    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            duizendstra Jasper Duizendstra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: