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

snowflake.snowpark.DataFrameReader.parquet

DataFrameReader.parquet(path: str) DataFrame[source]

Specify the path of the PARQUET file(s) to load.

Parameters:

path – The stage location of a PARQUET file, or a stage location that has PARQUET files.

Note

When using DataFrame.select(), quote the column names to select the desired columns. This is needed because converting from PARQUET to class:DataFrame does not capitalize the column names from the original columns and a DataFrame.select() without quote looks for capitalized column names.

Returns:

a DataFrame that is set up to load data from the specified PARQUET file(s) in a Snowflake stage.