diff --git a/src/snowflake/snowpark/dataframe_writer.py b/src/snowflake/snowpark/dataframe_writer.py index 1bb0b90e9e5..b30c08f40c0 100644 --- a/src/snowflake/snowpark/dataframe_writer.py +++ b/src/snowflake/snowpark/dataframe_writer.py @@ -87,7 +87,7 @@ def save_as_table( column_order: str = "index", create_temp_table: bool = False, table_type: Literal["", "temp", "temporary", "transient"] = "", - clustering_keys: Iterable[Column], + clustering_keys: Optional[Iterable[ColumnOrName]] = None, statement_params: Optional[Dict[str, str]] = None, block: bool = True, ) -> None: @@ -102,7 +102,7 @@ def save_as_table( column_order: str = "index", create_temp_table: bool = False, table_type: Literal["", "temp", "temporary", "transient"] = "", - clustering_keys: Iterable[Column], + clustering_keys: Optional[Iterable[ColumnOrName]] = None, statement_params: Optional[Dict[str, str]] = None, block: bool = False, ) -> AsyncJob: