An implementation of MetastoreSchemaHandler that requires the input
schema to be compatible with the metastore schema. Compatiblity is
achieved when all fields in the input schema are already defined
in the metastore, with compatible types.
With this handler, the input schema is allowed to have extra fields
which are not present in the metastore. It is assumed they will be
dropped by the alignment strategy.
If the schemas are not compatible then an exception is raised.
An implementation of MetastoreSchemaHandler that requires the input schema to be compatible with the metastore schema. Compatiblity is achieved when all fields in the input schema are already defined in the metastore, with compatible types.
With this handler, the input schema is allowed to have extra fields which are not present in the metastore. It is assumed they will be dropped by the alignment strategy.
If the schemas are not compatible then an exception is raised.