examples/

directory
v0.0.0-dev Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2026 License: Apache-2.0

README

files/v2 examples

Runnable programs that exercise the files/v2 client end to end. Each subdirectory is its own main package that runs against a real Databricks workspace, reading its host and credentials from the default Databricks profile.

Programs

  • upload/ — upload a payload to a Unity Catalog volume, then download it back and verify the round trip.

Running

go run ./upload

Configure the default Databricks profile before running (see the Databricks Auth documentation), and set remotePath in the program to a volume you own.

Directories

Path Synopsis
Command upload demonstrates uploading a file to a Unity Catalog volume with the files/v2 client, then downloading it back to verify the round trip.
Command upload demonstrates uploading a file to a Unity Catalog volume with the files/v2 client, then downloading it back to verify the round trip.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL