Class Exceptions.DataHasUnknownFieldException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.google.cloud.bigquery.storage.v1.Exceptions.DataHasUnknownFieldException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Exceptions.JsonDataHasUnknownFieldException
Enclosing class:
Exceptions

public static class Exceptions.DataHasUnknownFieldException extends IllegalArgumentException
Input data object has unknown field to the schema of the SchemaAwareStreamWriter. User can either turn on IgnoreUnknownFields option on the SchemaAwareStreamWriter, or if they don't want the error to be ignored, they should recreate the SchemaAwareStreamWriter with the updated table schema.
See Also:
  • Constructor Details

    • DataHasUnknownFieldException

      public DataHasUnknownFieldException(String jsonFieldName)
  • Method Details

    • getFieldName

      public String getFieldName()