Get Glue Data Catalog Name/ID

0

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

asked 2 years ago4832 views
1 Answer
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
SUPPORT ENGINEER
Yash_C
answered 2 years 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