Important

Helios features are now enabled during weekly update windows and are no longer directly tied to SingleStore engine releases. Refer to the release notes to view the latest features available in your Helios cluster.

UPLOAD SHARED FILE TO

The UPLOAD SHARED FILE TO command uploads a file to the shared space (Cloud Portal > Editor > Shared).

Syntax

UPLOAD SHARED FILE TO '<filename>'
    FROM '<local_path>' [ OVERWRITE ]

Arguments

  • <filename>: Name of the file to upload.

  • local_path: Specifies the path to the file in the local directory.

Remarks

  • When the OVERWRITE clause is specified, any existing file with the same name in the shared space is overwritten.

Example

The following command uploads a file to the shared space and overwrites any existing files with the same name:

UPLOAD SHARED FILE TO 'stats.csv'
FROM '/tmp/stats.csv' OVERWRITE;

Last modified:

Was this article helpful?