ADD ARCHIVE
Applies to: Databricks Runtime 10.4 LTS and above
Adds an archive file to the list of resources. The given archive file should be one of .zip, .tar, .tar.gz, .tgz and .jar. To list the archive files that have been added, use LIST ARCHIVE.
Syntax
ADD [ARCHIVE | ARCHIVES] file_name [...]
Parameters
file_name
The name of an ARCHIVE file to add. It could be either on a local file system or a distributed file system.
Examples
> ADD ARCHIVE /tmp/test.tar.gz;
> ADD ARCHIVE "/path/to/some.zip";
> ADD ARCHIVE '/some/other.tgz';
> ADD ARCHIVE "/path with space/abc.tar" ADD ARCHIVE "/path with space/def.tar";
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