选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

Catalogs, databases, and tables - Amazon SageMaker Unified Studio
此页面尚未翻译为您的语言。 请求翻译

Catalogs, databases, and tables

If your Connection is of the IAM type, you can retrieve catalogs, databases, and tables within a project.

Catalogs

If your Connection is of the IAM type, you can retrieve a list of catalogs or a single catalog by providing its id.

iam_conn: Connection conn_catalogs: List[Catalog] = iam_conn.catalogs my_catalog: Catalog = iam_conn.catalog("1234567890:catalog1/sub_catalog")

Each Catalog object has several properties that can provide information about the catalog.

my_catalog.name my_catalog.id my_catalog.type my_catalog.spark_catalog_name my_catalog.resource_arn

Databases

You can retrieve a list of databases or a single database within a catalog by providing its name.

my_catalog: Catalog catalog_dbs: List[Database] = my_catalog.databases my_db: Database = my_catalog.database("my_db")

Each Database object has several properties that can provide information about the database.

my_db.name my_db.catalog_id my_db.location_uri my_db.project_id my_db.domain_id

Tables

You can also retrieve a list of tables or a specific table within a Database.

my_db_tables: List[Table] = my_db.tables my_table: Table = my_db.table("my_table")

Each Table object has several properties that can provide information about the table.

my_table.name my_table.database_name my_table.catalog_id my_table.location

You can also retrieve a list of the columns within a table. Column contains the column name and the data type of the column.

my_table_columns: List[Column] = my_table.columns col_0: Column = my_table_columns[0] col_0.name col_0.type

下一主题:

Execution APIs

上一主题:

Secrets
隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。