Redshift Serverless and external glue table

0

Got this error when trying to insert from temp internal table to external table.

ERROR: Invalid DataCatalog response for external table "reportdb"."logs_aggregated": Cannot deserialize Table. Error: ----------------------------------------------- error: Assert code: 1000 context: esdbname != nullptr - esdbname = nullptr. query: 4268288[child_sequence:1] location: s3_credentials_helper.cpp:119 [ErrorId: 1-66a21205-469da10a0bd098d2761dc9bc]

Sometimes it works, so it is happening intermittently. I already checked the glue table parameters and definition i believe it is correct (even i did use the glue crawler to generate the glue definition)

Anyone know about this issue ?

asked 10 months ago484 views
1 Answer
0

This error seems to be related to a transient issue with AWS Glue's Data Catalog, which is responsible for managing the metadata of external tables like the one you're trying to access. The error message indicates that the Data Catalog response for the external table is invalid, and it cannot deserialize the table definition.

Try refreshing the Glue Data Catalog by running the MSCK REPAIR TABLE command on the external table. This can help synchronize the table's metadata with the Data Catalog.

profile picture
EXPERT
answered 10 months ago
  • I tried this and also tried to add some serdeinfo parameters, it is working in one account but failing in another account.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions