@@ -1297,6 +1297,8 @@ def copy_from_files( # pylint: disable=too-many-locals,too-many-arguments
12971297 Whether to commit the transaction. True by default.
12981298 manifest: bool
12991299 If set to true path argument accepts a S3 uri to a manifest file.
1300+ sql_copy_extra_params: Optional[List[str]]
1301+ Additional copy parameters to pass to the command. For example: ["STATUPDATE ON"]
13001302 boto3_session : boto3.Session(), optional
13011303 Boto3 Session. The default boto3 session will be used if boto3_session receive None.
13021304 s3_additional_kwargs:
@@ -1408,6 +1410,7 @@ def copy( # pylint: disable=too-many-arguments
14081410 keep_files : bool = False ,
14091411 use_threads : Union [bool , int ] = True ,
14101412 lock : bool = False ,
1413+ sql_copy_extra_params : Optional [List [str ]] = None ,
14111414 boto3_session : Optional [boto3 .Session ] = None ,
14121415 s3_additional_kwargs : Optional [Dict [str , str ]] = None ,
14131416 max_rows_by_file : Optional [int ] = 10_000_000 ,
@@ -1498,6 +1501,8 @@ def copy( # pylint: disable=too-many-arguments
14981501 If integer is provided, specified number is used.
14991502 lock : bool
15001503 True to execute LOCK command inside the transaction to force serializable isolation.
1504+ sql_copy_extra_params: Optional[List[str]]
1505+ Additional copy parameters to pass to the command. For example: ["STATUPDATE ON"]
15011506 boto3_session : boto3.Session(), optional
15021507 Boto3 Session. The default boto3 session will be used if boto3_session receive None.
15031508 s3_additional_kwargs:
@@ -1573,6 +1578,7 @@ def copy( # pylint: disable=too-many-arguments
15731578 lock = lock ,
15741579 boto3_session = session ,
15751580 s3_additional_kwargs = s3_additional_kwargs ,
1581+ sql_copy_extra_params = sql_copy_extra_params ,
15761582 )
15771583 finally :
15781584 if keep_files is False :
0 commit comments