Aws-data-wrangler: Getting error ResourceNumberLimitExceededException) when calling the UpdateTable operation: Number of TABLE_VERSION resources exceeds the limit 100000 per TABLE

Created on 3 Aug 2020  路  8Comments  路  Source: awslabs/aws-data-wrangler

P.S. Don't attach file. Please, prefer add code snippets directly in the message body.
I have the following code:
wr.s3.to_parquet(df=df, path=destination_path, dtype=types, dataset=True, database=DATABASE, table=TABLE, mode="append", catalog_versioning=False, partition_cols=['env','year','month','day','hour'])
I am executing this on S3 event when data file created in s3. At some point I got error "(ResourceNumberLimitExceededException) when calling the UpdateTable operation: Number of TABLE_VERSION resources exceeds the limit 100000 per TABLE" . Is there any way not to update table version? The table stay the same, only partitions are added with new data.

Minor Release Ready to release bug question

Most helpful comment

@igorborgest I am using pip install awswrangler without specifying any version. I see in the path it is awswrangler-1.7.0.dist-info.

All 8 comments

Hi @edvorkin! Are you using what version?

@igorborgest I am using pip install awswrangler without specifying any version. I see in the path it is awswrangler-1.7.0.dist-info.

Hi @edvorkin!

I've just fixed it in the dev branch. Could you please test it before the official release?
The ideia is publish the fix in the version 1.8.0 this weekend.

pip install git+https://github.com/awslabs/aws-data-wrangler.git@dev

Ok. Great I will test today. @igorborgest

@igorborgest tested. It does not throw the exception any more. Thanks

Thank you @edvorkin, it will be released on Sunday.

Hi @edvorkin !

It is totally off-topic, but we are stating a _"Who uses AWS Data Wrangler?"_ section. So feel free to add yourself if you want 馃槃 .

Released on version 1.8.0.

Was this page helpful?
0 / 5 - 0 ratings