Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions awswrangler/redshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -1297,6 +1297,8 @@ def copy_from_files( # pylint: disable=too-many-locals,too-many-arguments
Whether to commit the transaction. True by default.
manifest: bool
If set to true path argument accepts a S3 uri to a manifest file.
sql_copy_extra_params: Optional[List[str]]
Additional copy parameters to pass to the command. For example: ["STATUPDATE ON"]
boto3_session : boto3.Session(), optional
Boto3 Session. The default boto3 session will be used if boto3_session receive None.
s3_additional_kwargs:
Expand Down Expand Up @@ -1408,6 +1410,7 @@ def copy( # pylint: disable=too-many-arguments
keep_files: bool = False,
use_threads: Union[bool, int] = True,
lock: bool = False,
sql_copy_extra_params: Optional[List[str]] = None,
boto3_session: Optional[boto3.Session] = None,
s3_additional_kwargs: Optional[Dict[str, str]] = None,
max_rows_by_file: Optional[int] = 10_000_000,
Expand Down Expand Up @@ -1498,6 +1501,8 @@ def copy( # pylint: disable=too-many-arguments
If integer is provided, specified number is used.
lock : bool
True to execute LOCK command inside the transaction to force serializable isolation.
sql_copy_extra_params: Optional[List[str]]
Additional copy parameters to pass to the command. For example: ["STATUPDATE ON"]
boto3_session : boto3.Session(), optional
Boto3 Session. The default boto3 session will be used if boto3_session receive None.
s3_additional_kwargs:
Expand Down Expand Up @@ -1573,6 +1578,7 @@ def copy( # pylint: disable=too-many-arguments
lock=lock,
boto3_session=session,
s3_additional_kwargs=s3_additional_kwargs,
sql_copy_extra_params=sql_copy_extra_params,
)
finally:
if keep_files is False:
Expand Down