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

Spark Connect should support empty ndarray

    XMLWordPrintableJSON

Details

    Description

       

      In [4]: spark.range(1).select(sf.lit(np.array([], np.int32))).schema
      Out[4]: StructType([StructField('array()', ArrayType(NullType(), False), False)])

       

      it should be ArrayType(IntegerType...)

      Attachments

        Issue Links

          Activity

            People

              podongfeng Ruifeng Zheng
              podongfeng Ruifeng Zheng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: