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] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/file_operation.py#L38-L48)¶
Bases:
NamedTuple
Represents the results of uploading a local file to a stage location.
Methods
Attributes
The detailed message of the upload status.
The source file path.
The source file compression format.
The size in bytes of the source file.
Status indicating whether the file was uploaded to the stage.
The file path in the stage where the source file is uploaded.
The target file compression format.
The size in bytes of the target file.