Files¶
SnowflakeFile for UDFs and stored procedures in Snowpark.
This class is intended for usage within stored procedures and UDFs and many methods do not work locally.
Classes
|
SnowflakeFile provides an interface to operate on files as Python IOBase-like objects in UDFs and stored procedures. |
Methods
|
In UDF and Stored Procedures, the close func closes the IO Stream included in the SnowflakeFile. |
|
See https://docs.python.org/3/library/io.html#io.IOBase.fileno (https://docs.python.org/3/library/io.html#io.IOBase.fileno) |
|
Returns a |
|
See https://docs.python.org/3/library/io.html#io.RawIOBase.read (https://docs.python.org/3/library/io.html#io.RawIOBase.read) |
|
See https://docs.python.org/3/library/io.html#io.BufferedIOBase.read1 (https://docs.python.org/3/library/io.html#io.BufferedIOBase.read1) |
|
See https://docs.python.org/3/library/io.html#io.IOBase.readline (https://docs.python.org/3/library/io.html#io.IOBase.readline) |
|
See https://docs.python.org/3/library/io.html#io.IOBase.readable (https://docs.python.org/3/library/io.html#io.IOBase.readable) |
|
See https://docs.python.org/3/library/io.html#io.RawIOBase.readall (https://docs.python.org/3/library/io.html#io.RawIOBase.readall) |
|
See https://docs.python.org/3/library/io.html#io.IOBase.readinto (https://docs.python.org/3/library/io.html#io.IOBase.readinto) |
|
See https://docs.python.org/3/library/io.html#io.BufferedIOBase.readinto1 (https://docs.python.org/3/library/io.html#io.BufferedIOBase.readinto1) |
|
See https://docs.python.org/3/library/io.html#io.IOBase.seek (https://docs.python.org/3/library/io.html#io.IOBase.seek) |
|
See https://docs.python.org/3/library/io.html#io.IOBase.seekable (https://docs.python.org/3/library/io.html#io.IOBase.seekable) |
|
See https://docs.python.org/3/library/io.html#io.IOBase.tell (https://docs.python.org/3/library/io.html#io.IOBase.tell) |
Attributes
None