[ 
https://issues.apache.org/jira/browse/PARQUET-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17597650#comment-17597650
 ] 

ASF GitHub Bot commented on PARQUET-758:
----------------------------------------

pitrou commented on PR #184:
URL: https://github.com/apache/parquet-format/pull/184#issuecomment-1231300374

   > It would not be too easy to implement the half-precision floating point 
comparison logic since java does not have such a primitive type.
   
   While not effortless, it should be relatively easy to adapt one of the 
routines that's available from other open source projects, such as Numpy:
   
https://github.com/numpy/numpy/blob/main/numpy/core/src/npymath/halffloat.c#L169-L190
   (`npy_half` is just an unsigned 16-bit integer in this context)
   




> [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)

Reply via email to