currentDatabase

このセッションの現在の既定のデータベースを返します。

構文

currentDatabase()

返品

str

現在の既定のデータベース名。

例示

spark.catalog.currentDatabase()
# 'default'