We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d485112 commit ff409ffCopy full SHA for ff409ff
awswrangler/data_api/redshift.py
@@ -111,9 +111,9 @@ def _execute_statement(
111
parameters: list[dict[str, Any]] | None = None,
112
) -> str:
113
if transaction_id:
114
- exceptions.InvalidArgument("`transaction_id` not supported for Redshift Data API")
+ raise exceptions.InvalidArgument("`transaction_id` not supported for Redshift Data API")
115
if parameters:
116
- exceptions.InvalidArgument("`parameters` not supported for Redshift Data API")
+ raise exceptions.InvalidArgument("`parameters` not supported for Redshift Data API")
117
118
self._validate_redshift_target()
119
self._validate_auth_method()
0 commit comments