Skip to content

[Question] Don't know how to save StructField #461

@97dawn

Description

@97dawn

Hello.
When I tried reading data from parquet files and save data to Redshift using spark-redshift_2.11-2.0.0,
I got this error.

pyspark.sql.utils.IllegalArgumentException: "Don't know how to save StructField(a,StructType(StructField(b,StringType,true),StructField(b,StructType(StructField(x,LongType,true), StructField(y,LongType,true), StructField(z,LongType,true)),true),true) to JDBC"

How can I deal with StructType in spark-redshift?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions