Skip to content

CatalogPlugin

CatalogPlugin is an abstraction of catalogs (of assets like functions, tables and views).

CatalogHelper

CatalogHelper is a Scala implicit class of CatalogPlugin with extensions methods.

Demo

Learn more in Demo: Developing CatalogPlugin.

Contract

Default Namespace

String[] defaultNamespace()

Default namespace

Default: (empty)

Used when:

Initialize CatalogPlugin

void initialize(
  String name,
  CaseInsensitiveStringMap options)

Initializes this CatalogPlugin with the following:

  • Name that was used in spark.sql.catalog.[name] configuration property
  • spark.sql.catalog.[name].-prefixed case-insensitive options

Used when:

Name

String name()

SHOW CURRENT NAMESPACE

Use SHOW CURRENT NAMESPACE command to display the name.

Implementations