Get Glue Data Catalog Name/ID

0

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

已提问 2 年前4909 查看次数
1 回答
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
支持工程师
Yash_C
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则