メインコンテンツまでスキップ

カタログ

ユーザーが基盤となるデータベース、テーブル、関数などを作成、削除、変更、または照会できるインターフェース。

構文

catalog

戻り値

Catalog

Python
spark.catalog

# Create a temp view, show the list, and drop it.
spark.range(1).createTempView("test_view")
spark.catalog.listTables()
# [Table(name='test_view', catalog=None, namespace=[], description=None, ...
spark.catalog.dropTempView("test_view")
このページの見出し