Skip to contents

Updates an external location in the metastore. The caller must be the owner of the external location, or be a metastore admin. In the second case, the admin can only update the name of the external location.

Usage

update_external_location(
  client,
  name,
  access_point = NULL,
  comment = NULL,
  credential_name = NULL,
  encryption_details = NULL,
  force = NULL,
  new_name = NULL,
  owner = NULL,
  read_only = NULL,
  skip_validation = NULL,
  url = NULL
)

externalLocationsUpdate(
  client,
  name,
  access_point = NULL,
  comment = NULL,
  credential_name = NULL,
  encryption_details = NULL,
  force = NULL,
  new_name = NULL,
  owner = NULL,
  read_only = NULL,
  skip_validation = NULL,
  url = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

name

Required. Name of the external location.

access_point

The AWS access point to use when accesing s3 for this external location.

comment

User-provided free-form text description.

credential_name

Name of the storage credential used with this location.

encryption_details

Encryption options that apply to clients connecting to cloud storage.

force

Force update even if changing url invalidates dependent external tables or mounts.

new_name

New name for the external location.

owner

The owner of the external location.

read_only

Indicates whether the external location is read-only.

skip_validation

Skips validation of the storage credential associated with the external location.

url

Path URL of the external location.