COPY_FILE_ERROR error condition

SQLSTATE: 58030

Error copying a file.

BYTE_RANGE_NOT_SUPPORTED

The FILE value starts at a non-zero offset, so it references part of its file rather than the whole file. Copying a byte range is not supported.

FAILED_TO_COPY_FILE

Failed to copy the file at path <source> to <destination>. Cause: <cause>.

FILE_ALREADY_EXISTS

A file already exists at the path <path>. Set if_file_exists with the modes "skip" to skip uploading this file, or "overwrite" to overwrite the existing file.

FILE_NOT_EXISTS

The file at path <path> does not exist. Use TRY_COPY_FILE instead, which would return a null for files that don't exist.

INLINE_CONTENT_NOT_SUPPORTED

The FILE value carries its content inline (in the inline field) with no uri, so there is no file to copy from. Copying an inline FILE value is not supported yet.

NO_URI

The FILE value has no uri, so there is no file to copy from. Only a FILE value that names a file can be used as a copy source.