Get Glue Data Catalog Name/ID

0

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

posta 2 anni fa4909 visualizzazioni
1 Risposta
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
TECNICO DI SUPPORTO
Yash_C
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande