snowflake.snowpark.catalog.Catalog.get_table

Catalog.get_table(table_name: str, *, database: Optional[Union[str, DatabaseModel]] = None, schema: Optional[Union[str, ModelSchemaModel]] = None) Table[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.29.1/snowpark-python/src/snowflake/snowpark/catalog.py#L341-L363)

Get the table by name in given database and schema. If database or schema are not provided, get the table in the current database and schema.

Parameters:
  • table_name – name of the table.

  • database – database name or Database object. Defaults to None.

  • schema – schema name or Schema object. Defaults to None.

Language: English