Skip to contents

Appends a block of data to the stream specified by the input handle. If the handle does not exist, this call will throw an exception with RESOURCE_DOES_NOT_EXIST.

Usage

add_dbfs_block(client, handle, data)

dbfsAddBlock(client, handle, data)

Arguments

client

Required. Instance of DatabricksClient()

handle

Required. The handle on an open stream.

data

Required. The base64-encoded data to append to the stream.

Details

If the block of data exceeds 1 MB, this call will throw an exception with MAX_BLOCK_SIZE_EXCEEDED.