catalog

Interfaz a través de la cual el usuario puede crear, quitar, modificar o consultar bases de datos subyacentes, tablas, funciones, etc.

Sintaxis

catalog

Devoluciones

Catalog

Ejemplos

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")