You are viewing documentation about an older version (1.1.0). View latest version

snowflake.snowpark.PutResult¶

class snowflake.snowpark.PutResult(source: str, target: str, source_size: int, target_size: int, source_compression: str, target_compression: str, status: str, message: str)[source]¶

Bases: tuple

Represents the results of uploading a local file to a stage location.

Methods

Attributes

message

The detailed message of the upload status.

source

The source file path.

source_compression

The source file compression format.

source_size

The size in bytes of the source file.

status

Status indicating whether the file was uploaded to the stage.

target

The file path in the stage where the source file is uploaded.

target_compression

The target file compression format.

target_size

The size in bytes of the target file.