Skip to contents

Close the stream specified by the input handle.

Usage

db_dbfs_close(
  handle,
  host = db_host(),
  token = db_token(),
  perform_request = TRUE
)

Arguments

handle

The handle on an open stream. This field is required.

host

Databricks workspace URL, defaults to calling db_host().

token

Databricks workspace token, defaults to calling db_token().

perform_request

If TRUE (default) the request is performed, if FALSE the httr2 request is returned without being performed.

Value

HTTP Response

Details

If the handle does not exist, this call throws an exception with RESOURCE_DOES_NOT_EXIST.

Typical File Upload Flow