save_as_table executes a Snowpark DataFrame computation and persists its result as a Snowflake table. Because DataFrame operations are lazy, this method acts as an execution boundary after transformations have been assembled. section 6.5
A typical pipeline uses save_as_table to:
- Construct a DataFrame with create_dataframe(), including an explicit schema. section 6.5
Persisting a date dimension
A DataFrame containing day and holiday_flg columns is written to DIM_DATE with overwrite mode, replacing the table if it already exists. The resulting rows include dates from 2023-01-01 through 2023-01-05.
