You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "hussein-awala (via GitHub)" <gi...@apache.org> on 2023/02/06 23:08:38 UTC

[GitHub] [airflow] hussein-awala commented on issue #29301: BigQueryCreateEmptyTableOperator `exists_ok` parameter doesn't throw appropriate error when set to "False"

hussein-awala commented on issue #29301:
URL: https://github.com/apache/airflow/issues/29301#issuecomment-1419914453

   @mfjackson I just created this draft PR #29394 (it needs some unit tests) which creates a new param `if_exists` and deprecate `exists_ok`, this new param support 4 different actions to handle the conflict error:
   - ignore: ignore the error (similar to provide `exists_ok=True`)
   - log: log an error msg and success the TI (similar to provide `exists_ok=False`)
   - Fail: fail the TI
   - skip: mark the TI as skipped
   
   Can you please check if it can solve your problem?


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org