You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ap...@apache.org on 2023/11/16 10:57:19 UTC

(arrow) branch main updated: MINOR: [Docs] document Float16 support in C++ (#38494)

This is an automated email from the ASF dual-hosted git repository.

apitrou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 62cf42b507 MINOR: [Docs] document Float16 support in C++ (#38494)
62cf42b507 is described below

commit 62cf42b5074a851a59438ec43177684ed1aac660
Author: Anja Kefala <an...@voltrondata.com>
AuthorDate: Thu Nov 16 05:57:12 2023 -0500

    MINOR: [Docs] document Float16 support in C++ (#38494)
    
    ### Rationale for this change
    
    There is, at least, partial halffloat support in Arrow C++. A reason to not merge this is that there is still quite a bit casting work to be completed:
    * https://github.com/apache/arrow/issues/20213
    * https://github.com/apache/arrow/issues/32802
    
    Authored-by: anjakefala <an...@voltrondata.com>
    Signed-off-by: Antoine Pitrou <an...@python.org>
---
 docs/source/status.rst | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/docs/source/status.rst b/docs/source/status.rst
index c059ab3cef..fee9a27b6c 100644
--- a/docs/source/status.rst
+++ b/docs/source/status.rst
@@ -40,7 +40,7 @@ Data Types
 +-------------------+-------+-------+-------+------------+-------+-------+-------+-------+
 | UInt8/16/32/64    | ✓     | ✓     | ✓     | ✓          |  ✓    |  ✓    | ✓     | ✓     |
 +-------------------+-------+-------+-------+------------+-------+-------+-------+-------+
-| Float16           |       |       | ✓     | ✓          |  ✓ (1)|  ✓    | ✓     |       |
+| Float16           | ✓ (1) |       | ✓     | ✓          |  ✓ (2)|  ✓    | ✓     |       |
 +-------------------+-------+-------+-------+------------+-------+-------+-------+-------+
 | Float32/64        | ✓     | ✓     | ✓     | ✓          |  ✓    |  ✓    | ✓     | ✓     |
 +-------------------+-------+-------+-------+------------+-------+-------+-------+-------+
@@ -96,7 +96,7 @@ Data Types
 | Data type         | C++   | Java  | Go    | JavaScript | C#    | Rust  | Julia | Swift |
 | (special)         |       |       |       |            |       |       |       |       |
 +===================+=======+=======+=======+============+=======+=======+=======+=======+
-| Dictionary        | ✓     | ✓ (2) | ✓     | ✓          | ✓ (2) | ✓ (2) | ✓     |       |
+| Dictionary        | ✓     | ✓ (3) | ✓     | ✓          | ✓ (3) | ✓ (3) | ✓     |       |
 +-------------------+-------+-------+-------+------------+-------+-------+-------+-------+
 | Extension         | ✓     | ✓     | ✓     |            |       | ✓     | ✓     |       |
 +-------------------+-------+-------+-------+------------+-------+-------+-------+-------+
@@ -105,8 +105,9 @@ Data Types
 
 Notes:
 
-* \(1) Float16 support in C# is only available when targeting .NET 6+.
-* \(2) Nested dictionaries not supported
+* \(1) Casting to/from Float16 in C++ is not supported.
+* \(2) Float16 support in C# is only available when targeting .NET 6+.
+* \(3) Nested dictionaries not supported
 
 .. seealso::
    The :ref:`format_columnar` specification.