S3_File.read
readformaton_problems
Group: Input
Aliases: load, open, import
Documentation
Read a file using the specified file format
Arguments
format: AFile_Formatobject used to read file into memory. IfAuto_Detectis specified; the provided file determines the specific type and configures it appropriately.on_problems: Specifies the behavior when a problem occurs during the function. By default, a warning is issued, but the operation proceeds. If set toReport_Error, the operation fails with a dataflow error. If set toIgnore, the operation proceeds without errors or warnings.
Returns
- The contents of the file read using the specified
File_Format.
Errors
- If the bucket does not exist, an
S3_Bucket_Not_Founderror is thrown. - If the target is a directory, an
Illegal_Argumenterror is thrown. - If the file does not exist, a
File_Error.Not_Founderror is thrown. - If the access to the object is forbidden, an
S3_Error.Access_Deniederror is thrown. - If using
Auto_Detect, and there is no matching type then aFile_Error.Unsupported_Typeerror is returned.