jiaan.geng created SPARK-30110:
----------------------------------

             Summary: Support type judgment for ArrayData
                 Key: SPARK-30110
                 URL: https://issues.apache.org/jira/browse/SPARK-30110
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: jiaan.geng
             Fix For: 3.0.0


ArrayData is only some interfaces for getting data, such as: getBoolean, 
getByte.

When the element type of array is unknow, I want to judgment the element type 
first.

I have PR working in process:

[https://github.com/beliefer/spark/commit/5787c6f062795aa7931c58ac2302ba607d3a97aa]

The array function ArrayNDims is used to get the Dimension of array.

If ArrayData can support some interfaces like isBoolean, isByte, isArray, My 
job will be easier.



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

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

Reply via email to