Class SchemaIncompatibleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.hardwood.reader.SchemaIncompatibleException
- All Implemented Interfaces:
Serializable
Thrown when a file cannot be read under the schema the read was planned against.
In a multi-file read the reference schema is the schema of the first file in the input list. Every column the read touches — the projected ones plus any a filter predicate tests — must exist in each subsequent file, matched by field path, with the same physical type, logical type and repetition type, the same fixed byte length, and enclosing groups of the same nullability and repeatedness. Columns that are neither projected nor filtered on are not checked.
Also thrown, for a read of any size, when a file's footer is internally inconsistent: the column chunks a row group lists disagree with the schema about which leaf they hold.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SchemaIncompatibleException
-