You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (Jira)" <ji...@apache.org> on 2020/05/20 17:44:00 UTC

[jira] [Created] (SPARK-31775) Support tensor type (TensorType) in Spark SQL/DataFrame

Xiangrui Meng created SPARK-31775:
-------------------------------------

             Summary: Support tensor type (TensorType) in Spark SQL/DataFrame
                 Key: SPARK-31775
                 URL: https://issues.apache.org/jira/browse/SPARK-31775
             Project: Spark
          Issue Type: New Feature
          Components: ML, SQL
    Affects Versions: 3.1.0
            Reporter: Xiangrui Meng


More and more DS/ML workloads are dealing with tensors. For example, a decoded color image can be represented by a 3D tensor. It would be nice to natively support tensor type. A local tensor is essentially an array with shape info, stored together. Native support is better than user-defined type (UDT) because PyArrow does not support UDTs but it already supports tensors.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org