Exception Exceptions.DataHasUnknownFieldException (2.45.0)

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.

Constructors

DataHasUnknownFieldException(String jsonFieldName)

public DataHasUnknownFieldException(String jsonFieldName)
Parameter
NameDescription
jsonFieldNameString

Methods

getFieldName()

public String getFieldName()
Returns
TypeDescription
String