Aws-data-wrangler: pandas.to_parquet writes out parquet files with data types not supported by athena/glue

Created on 6 Nov 2019  路  4Comments  路  Source: awslabs/aws-data-wrangler

session.pandas.to_parquet writes out parquet files with data types not support by athena/glue, which results in things like HIVE_BAD_DATA: Field primary_key's type INT64 in parquet is incompatible with type string defined in table schema

bug question

Most helpful comment

I've been able to declare better types in my dataframe and get those to go all the way through to athena properly, so I'm going to close this issue for now. I just expected that this would take care of that for me, which wasn't a good expectation on my part. Thank you for this library!

All 4 comments

Hi @jasonamyers! Thanks for open this.

Do you have more context? I would like to reproduce your issue here in my environment.

I'll make a good test case and post it back.

@jasonamyers thank you very much!

I've been able to declare better types in my dataframe and get those to go all the way through to athena properly, so I'm going to close this issue for now. I just expected that this would take care of that for me, which wasn't a good expectation on my part. Thank you for this library!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bryanyang0528 picture bryanyang0528  路  3Comments

martinSpears-ECS picture martinSpears-ECS  路  3Comments

radcheb picture radcheb  路  4Comments

dwbelliston picture dwbelliston  路  3Comments

bryanyang0528 picture bryanyang0528  路  5Comments