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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南