Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Parquet is going to remove the constructors from the public API in favor of the builder, We must use the new Types API for primitive types in:
HiveSchemaConverter.java
.
This is to avoid invalid types, like an INT64 with a DATE annotation.
An example for a DATE datatype:
Types.primitive(repetition, INT32).as(DATE).named(name);