GET

Applies to: check marked yes Databricks SQL Connector

Get a file from a volume to your local storage.

Syntax

GET volume_path TO localfile_path

Parameters

  • volume_path

    A STRING literal with the path of the volume.

    volume_path must be in the format:

    • /Volumes/<catalog>/<schema>/<volume>/<path>/<file_name>, or
    • dbfs:/Volumes/<catalog>/<schema>/<volume>/<path>/<file_name>
  • localfile_path

    A STRING literal with the path of the local file.

Examples

> GET '/Volumes/test_catalog/test_schema/test_volume/2023/06/file1.csv' TO '/home/bob/data.csv'