read_parquet_table fails when chunked is true for partitioned table #627
Labels
bug
Something isn't working
minor release
Will be addressed in the next minor release
ready to release
Milestone
If I try to read a partitioned table in batch chunks using s3.read_parquet_table(chunked=True) on a table that has partitions defined, I get the following exception:
The exception is thrown in line 599 of cast_pandas_with_athena_types because it's expecting an actual dataframe, not a generator of dataframes. It seems the calling methodread_parquet_table() is where a fix is needed, such that it calls the cast_ method on each dataframe returned by the generator from read_parquet().
My environment is Python 3.9, awswrangler 2.6.0, on AWS Linux2
The text was updated successfully, but these errors were encountered: