FilesΒΆ

Classes

SnowflakeFile(file_location[, mode, ...])

SnowflakeFile provides an interface to operate on files as Python IOBase-like objects in UDFs and stored procedures.

Methods

close()

See https://docs.python.org/3/library/io.html#io.IOBase.close

fileno()

Getting a file descriptor number is not supported in Snowflake.

isatty()

Returns False, file streams in stored procedures and UDFs are never interactive in Snowflake.

open(file_location[, mode, is_owner_file, ...])

Used to create a SnowflakeFile which can only be used for read-based IO operations on the file.

open_new_result([mode])

Used to create a SnowflakeFile which can only be used for write-based IO operations.

read([size])

From https://docs.python.org/3/library/io.html#io.RawIOBase.read

read1([size])

From https://docs.python.org/3/library/io.html#io.BufferedIOBase.read1

readable()

From https://docs.python.org/3/library/io.html#io.IOBase.readable

readall()

From https://docs.python.org/3/library/io.html#io.RawIOBase.readall

readinto(b)

From https://docs.python.org/3/library/io.html#io.RawIOBase.readinto

readinto1(b)

From https://docs.python.org/3/library/io.html#io.BufferedIOBase.readinto1

readline([size])

From https://docs.python.org/3/library/io.html#io.IOBase.readline

readlines([hint])

From https://docs.python.org/3/library/io.html#io.IOBase.readlines

seek(offset[, whence])

See https://docs.python.org/3/library/io.html#io.IOBase.seek

seekable()

See https://docs.python.org/3/library/io.html#io.IOBase.seekable

tell()

See https://docs.python.org/3/library/io.html#io.IOBase.tell

write(b)

See https://docs.python.org/3/library/io.html#io.RawIOBase.write

writable()

See https://docs.python.org/3/library/io.html#io.IOBase.writable

writelines(lines)

From https://docs.python.org/3/library/io.html#io.IOBase.writelines

Attributes

None