LIST ARCHIVE

Lists the ARCHIVEs added by ADD ARCHIVE.

Since: Databricks Runtime 10.0

Syntax

LIST [ARCHIVE | ARCHIVES] [file_name [...]]

Parameters

  • file_name

    Optional a name of an archive to list.

Examples

> ADD ARCHIVES /tmp/test.zip /tmp/test_2.tar.gz;

> LIST ARCHIVE;
 file:/tmp/test.zip
 file:/tmp/test_2.tar.gz

> LIST ARCHIVE /tmp/test.zip /some/random.tgz /another/random.tar;
 file:/tmp/test.zip