Get Glue Data Catalog Name/ID

0

How do I get the name or ID of the/my data catalog in Glue?

preguntada hace 2 años4909 visualizaciones
1 Respuesta
1

Hello,

AWS Glue Catalog ID is the AWS account ID. This is mentioned on our AWS Docs here [1] as well -

Each AWS account has a single Data Catalog in an AWS Region with the 12-digit account ID as the catalog ID.

Additionally, in regards to querying the Glue Data Catalog metadata, you can leverage SQL queries in Athena as mentioned here on our AWS Docs [2].

To obtain AWS Glue Catalog metadata, you query the information_schema database on the Athena backend.

References:

[1]https://docs.aws.amazon.com/glue/latest/dg/glue-specifying-resource-arns.html#data-catalog-resource-arns

[2] https://docs.aws.amazon.com/athena/latest/ug/querying-glue-catalog.html

profile pictureAWS
INGENIERO DE SOPORTE
Yash_C
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