jason810496 commented on code in PR #72173:
URL: https://github.com/apache/airflow/pull/72173#discussion_r3890236506
##########
providers/apache/iceberg/src/airflow/providers/apache/iceberg/triggers/iceberg.py:
##########
@@ -132,7 +132,7 @@ async def run(self) -> AsyncIterator[TriggerEvent]:
store = getattr(self, "asset_state_store", None)
if store is not None:
try:
- stored = await asyncio.to_thread(store.get, WATERMARK_KEY)
+ stored = await store.aget(WATERMARK_KEY)
Review Comment:
I just realized we should add compatible layer for the `aget` method,
otherwise Airflow 3.3.0 and 3.3.1 will crash with the upcoming Iceberg provider
will crash.
--
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]