Skip to contents

Gets an array of all tables for the current metastore under the parent catalog and schema. The caller must be a metastore admin or an owner of (or have the SELECT privilege on) the table. For the latter case, the caller must also be the owner or have the USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on the parent schema. There is no guarantee of a specific ordering of the elements in the array.

Usage

list_tables(
  client,
  catalog_name,
  schema_name,
  include_browse = NULL,
  include_delta_metadata = NULL,
  max_results = NULL,
  omit_columns = NULL,
  omit_properties = NULL,
  page_token = NULL
)

tablesList(
  client,
  catalog_name,
  schema_name,
  include_browse = NULL,
  include_delta_metadata = NULL,
  max_results = NULL,
  omit_columns = NULL,
  omit_properties = NULL,
  page_token = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

catalog_name

Required. Name of parent catalog for tables of interest.

schema_name

Required. Parent schema of tables.

include_browse

Whether to include tables in the response for which the principal can only access selective metadata for.

include_delta_metadata

Whether delta metadata should be included in the response.

max_results

Maximum number of tables to return.

omit_columns

Whether to omit the columns of the table from the response or not.

omit_properties

Whether to omit the properties of the table from the response or not.

page_token

Opaque token to send for the next page of results (pagination).

Value

data.frame with all of the response pages.