Add fields in an athena table


I need to make an update to a table in athena called businesses. The table schema was updated in Github, Lamdba, Glue and the new fields appear in the table in Athena, however they appear empty, for that a crowlers run was carried out, and MSCK REPAIR TABLE, however the fields continue to appear. empty fields. What process is needed?

asked 6 months ago245 views
1 Answer

Normally you cannot just add fields to s3 backed tables, you have to add the data to the data files and then update the schema (making sure it's compatible with existing files).
All this depends on the format and kind of table.

profile pictureAWS
answered 6 months ago

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