Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
97dawn opened this issue Sep 9, 2021 · 0 comments
Open

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

97dawn opened this issue Sep 9, 2021 · 0 comments

Comments

@97dawn
Copy link

97dawn commented Sep 9, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant