Skip to content

[Java] support for Arrow's float16 #2362

@asfimport

Description

@asfimport

DESCRIPTION

 

I'm wondering if there's any interest in supporting Arrow's float16 type in Parquet.

There seem to be one or two float16 / halffloat tickets here (e.g., PARQUET-1403) but nothing that speaks to adding half-float support to Parquet in-general.

PLANS

I'm able to spend some time on this, if someone points me  in the right direction.

 

  1. Add the HALFFLOAT or FLOAT16 enum (any preferred naming convention?) to https://github.com/apache/parquet-format/blob/master/src/main/thrift/parquet.thrift#L32

  2. Add HALFFLOAT to org.apache.parquet.schema.PrimitiveType

  3. Add HALFFLOAT support to org.apache.parquet.arrow.schema.SchemaConverter

  4. Add encoding for new type at org.apache.parquet.column.Encoding

  5. ??

    If anyone has any interest in this, pointers, or comments, they would be greatly appreciated!

Reporter: The Alchemist
Assignee: Jiashen Zhang / @zhangjiashen

Related issues:

PRs and other links:

Note: This issue was originally created as PARQUET-1647. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions