Re: Async Hooks

2024-09-27 Thread Okumin
Hi Zsolt, It's an interesting suggestion. I often use hooks. It seems true that some hooks or parts of some hooks can be asynchronous. However, as Stamatis says, some hooks are not safe to be asynchronous. For example, DisallowTransformHook[1] is expected to be completed before a DAG starts and i

Re: Async Hooks

2024-09-25 Thread Stamatis Zampetakis
Hey Zsolt, The same argument could be generalized to many phases of the query execution. If something goes bad when compiling or running the query there is a risk that the whole HS2 could go down. In many cases, adding asynchronous executions seems to alleviate a problem but at the same time it m