NumberPiOso opened a new issue, #63552:
URL: https://github.com/apache/airflow/issues/63552

   ### Description
   
   Extend functionality of Airbyte Provider to include to reset connections.
   
   In airbyte provider we just have sync connections operators that use 
[airbyte-api-sdk](https://github.com/airbytehq/airbyte-api-python-sdk/blob/main/src/airbyte_api/api/__init__.py).
   to sync connections. We could create a new operator named 
`AirbyteTriggerResetOperator` that would create another method named 
`submit_reset_connection`  for AirbyteHook in 
   
https://github.com/apache/airflow/blob/3e7876fdc7756f4df6b5b29de935cca0b8f8df1b/providers/airbyte/src/airflow/providers/airbyte/hooks/airbyte.py#L177-L189
   
   
   To do this we would also use the airbyte_api. But using the enumType "reset"
   
   
https://github.com/airbytehq/airbyte-api-python-sdk/blob/9f75c7958de949d319836eeb883ed7f45b18a82a/src/airbyte_api/models/jobtypeenum.py#L7-L12
   
   ### Use case/motivation
   
   Airbyte is an Extract-Load tool.
   Usually you run Extract-Load tools in incremental models (checking 
`updated_at` from source systems) but when things go wrong you want to trigger 
a full refresh.
   To do that in Airbyte you simply hit a reset and then a sync.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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]

Reply via email to