Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-30110

Support type judgment for ArrayData

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.4.0
    • 3.0.0
    • SQL
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            beliefer Jiaan Geng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: