Athena Migration

0

I have Athena tables, views created on S3 in an account which I want to migrate to another account. What is the best possible way to migrate?

preguntada hace 2 años900 visualizaciones
1 Respuesta
0

Hi, @Ajeeth K

There are no migration methods available, so you'll have to do the extraction and copying yourself.

You can get the metadata structure of the table used by Athena with aws glue get-table.
Then, by deleting unnecessary fields and changing the parameters for the acquired structure and doing aws glue create-table, you can copy the structure to another database and use it from Athena.

The unnecessary fields are:

  • DatabaseName
  • CreateTime
  • UpdateTime
  • CreatedBy
  • IsRegisteredWithLakeFormation
  • CatalogId
  • CatalogId
profile picture
EXPERTO
iwasa
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas