[
https://issues.apache.org/jira/browse/PARQUET-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17776035#comment-17776035
]
ASF GitHub Bot commented on PARQUET-758:
----------------------------------------
gszadovszky commented on code in PR #184:
URL: https://github.com/apache/parquet-format/pull/184#discussion_r1361571897
##########
LogicalTypes.md:
##########
@@ -245,6 +245,16 @@ comparison.
To support compatibility with older readers, implementations of parquet-format
should
write `DecimalType` precision and scale into the corresponding SchemaElement
field in metadata.
+### FLOAT16
+
+The `FLOAT16` annotation represents half-precision floating-point numbers in
the 2-byte IEEE little-endian format.
+
+Used in contexts where precision is traded off for smaller footprint and
potentially better performance.
+
+The primitive type is a 2-byte fixed length binary.
+
+The sort order for `FLOAT16` is signed (with special handling of NANs and
signed zeros); it uses the same
[logic](https://github.com/apache/parquet-format#sort-order) as `FLOAT32` and
`FLOAT64`.
Review Comment:
The related primitive types are called `FLOAT` and `DOUBLE`. `FLOAT32` and
`FLOAT64` are unknown types for Parquet.
> [Format] HALF precision FLOAT Logical type
> ------------------------------------------
>
> Key: PARQUET-758
> URL: https://issues.apache.org/jira/browse/PARQUET-758
> Project: Parquet
> Issue Type: Improvement
> Components: parquet-format
> Reporter: Julien Le Dem
> Priority: Minor
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)