Databricks SDK for JavaScript
    Preparing search index...
    interface SqlTaskFile {
        path?: string;
        source?: Source;
    }
    Index

    Properties

    Properties

    path?: string

    Path of the SQL file. Must be relative if the source is a remote Git repository and absolute for workspace paths.

    source?: Source

    Optional location type of the SQL file. When set to WORKSPACE, the SQL file will be retrieved from the local workspace. When set to GIT, the SQL file will be retrieved from a Git repository defined in git_source. If the value is empty, the task will use GIT if git_source is defined and WORKSPACE otherwise.

    • WORKSPACE: SQL file is located in workspace.
    • GIT: SQL file is located in cloud Git provider.