Package org.apache.beam.sdk.io.iceberg
Enum Class SchemaEvolutionConfig.UnverifiableFileHandling
java.lang.Object
java.lang.Enum<SchemaEvolutionConfig.UnverifiableFileHandling>
org.apache.beam.sdk.io.iceberg.SchemaEvolutionConfig.UnverifiableFileHandling
- All Implemented Interfaces:
Serializable,Comparable<SchemaEvolutionConfig.UnverifiableFileHandling>,Constable
- Enclosing class:
SchemaEvolutionConfig
public static enum SchemaEvolutionConfig.UnverifiableFileHandling
extends Enum<SchemaEvolutionConfig.UnverifiableFileHandling>
What to do with a file the per-file checks cannot verify: a non-Parquet file, or a Parquet file
with no null-count statistics for a pinned column. A file that fails a check is always routed
to the error output.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REJECT
Route the file to the error output. The default: "cannot prove" is not "proven". -
ACCEPT
Register the file unchecked, counted (numUncheckedFormatFiles,numUnprovenPinFiles) and logged. A trusted file that lacks a required column or holds nulls in one breaks reads of the table at query time, not at registration. A non-Parquet file never contributes to schema inference, so it cannot seed a missing table.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-