snowflake.snowpark.DataFrameReader.with_metadata

DataFrameReader.with_metadata(*metadata_cols: Iterable[Union[Column, str]]) DataFrameReader[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/dataframe_reader.py#L437-L472)

Define the metadata columns that need to be selected from stage files.

Returns:

a DataFrameReader instance with metadata columns to read.

Language: English