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. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@parquet.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org