You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "jiaan.geng (Jira)" <ji...@apache.org> on 2019/12/03 11:05:00 UTC
[jira] [Created] (SPARK-30110) Support type judgment for ArrayData
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org