object ParquetIcebergCompatV2Utils
Contains utilities to check whether a specific parquet data file
is considered IcebergCompatV2.
See isParquetIcebergV2Compatible for details.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ParquetIcebergCompatV2Utils
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getParquetFooter(parquetPath: String): ParquetMetadata
Get the parquet footer based on the input
parquetPath.Get the parquet footer based on the input
parquetPath.- parquetPath
the absolute path to the parquet file.
- returns
the corresponding parquet metadata/footer.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isParquetIcebergCompatV2(footer: ParquetMetadata): Boolean
Check if the parquet file is
IcebergCompatV2by inspecting the provided parquet footer.Check if the parquet file is
IcebergCompatV2by inspecting the provided parquet footer.note: icebergV2-compatible check refer to the following two properties. 1. TIMESTAMP
- If TIMESTAMP is stored as
int96, it's considered incompatible since iceberg stores TIMESTAMP asint64according to the iceberg spec. 2. field_id field_idis needed for *every* field in a parquet footer, this includes the field of each column, and the potential nested fields for nested types like LIST, MAP or STRUCT. See https://github.com/apache/parquet-format/blob/master/LogicalTypes.md for details.- This is checked by inspecting whether the
field_idfor each column is null or not recursively.
- footer
the parquet footer to be checked.
- returns
whether the parquet file is considered
IcebergCompatV2.
- If TIMESTAMP is stored as
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()