sohailshk commented on PR #76721: URL: https://github.com/apache/airflow/pull/76721#issuecomment-7254188148
Implemented the changes in commit `4742bcec37`. Changes * Moved `_VISIBLE_TABLE_FILTER` to `aws/utils/redshift.py`. * Renamed it to `VISIBLE_TABLE_FILTER` because it is now shared across modules. * Updated both hooks to import it from the new location. Tests * Added two tests in the utils test file. * Both tests now pass (4 passed after the move). * The file previously failed during import. * Related files: 85 passed, 1 error. * The remaining error is a missing `airflow_shared` module and is identical on the unchanged tree. `mypy` was not run. Follow-up `wait_for_completion=False` cannot work for the primary-key lookup. o-nikolas agreed that this can be handled in a follow-up. The follow-up should also address the `TypeError` caused by `session_id` and `session_keep_alive_seconds` in `get_table_primary_key`, as noted by o-nikolas. No changes were made to that behaviour in this PR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
