I think it needs a type for the elements in the array. For example

f <- structField("x", "array<integer>")

Thanks
Shivaram

On Fri, Sep 2, 2016 at 8:26 AM, Paul R <pj.r...@gmail.com> wrote:
> Hi there,
>
> I’ve noticed the following command in sparkR
>
>>>> field = structField(“x”, “array”)
>
> Throws this error
>
>>>> Error in checkType(type) : Unsupported type for SparkDataframe: array
>
> Was wondering if this is a bug as the documentation says “array” should be 
> implemented
>
> Thanks
> ---------------------------------------------------------------------
> To unsubscribe e-mail: dev-unsubscr...@spark.apache.org
>

---------------------------------------------------------------------
To unsubscribe e-mail: dev-unsubscr...@spark.apache.org

Reply via email to