Exception Exceptions.DataHasUnknownFieldException (3.6.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
Name Description
jsonFieldName String

Methods

getFieldName()

public String getFieldName()
Returns
Type Description
String