The GitHub Actions job "Tests" on airflow.git/fix-athena-sql-hook-kwargs has 
failed.
Run started by GitHub user shivaam (triggered by shivaam).

Head commit for run:
97e1194d2240636b43d68ef5246f827c0212b9d3 / Shivam Rastogi 
<[email protected]>
fix(amazon): Filter kwargs in AthenaSQLHook to prevent TypeError

BaseSQLOperator.get_hook() passes all connection extra_dejson fields as
kwargs to the hook constructor. Athena-specific params like s3_staging_dir
and work_group are not accepted by AwsGenericHook.__init__(), causing a
TypeError. Use an allowlist to only forward valid AWS-generic params to
the parent class.

Closes: #55678

Report URL: https://github.com/apache/airflow/actions/runs/22228056456

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to