ADD FILE
Applies to: Databricks Runtime
Adds a single file as well as a directory to the list of resources. The added resource can be listed using LIST FILE.
Syntax
ADD [ FILE | FILES ] resource_name [...]
Parameters
resource_name
The name of a file or directory to be added.
Examples
> ADD FILE /tmp/test;
> ADD FILE "/path/to/file/abc.txt";
> ADD FILE '/another/test.txt';
> ADD FILE "/path with space/abc.txt";
> ADD FILE "/path/to/some/directory" "/path with space/abc.txt";
Related statements
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for