Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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";