Uh oh!
There was an error while loading. Please reload this page.
Fix RedshiftDataOperator and update doc - #22157
Conversation
The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease. |
There was a problem hiding this comment.
Why update away from the @dag decorator? More curiosity than a suggestion.
There was a problem hiding this comment.
Good question. We (AWS) are trying to be consistent across the Amazon providers package and decided to go with this format
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
While testing
RedshiftDataOperatoroperator as part of #22063 verification process I found out some bugs. The bugs are, for all optional parameters as part ofRedshiftDataOperator, they should not be passed down to the boto3 client if no value is specified. Otherwise, such error message are thrownInvalid type for parameter Parameters, value: None, type: <class 'NoneType'>, valid types: <class 'list'>, <class 'tuple'>.I also updated the doc and sample dag for
RedshiftDataOperator