I need to execute many times almost the same query on a lazyframe. I have a dynamic DataFrame x, that changes on each iteration, which I join with a static DataFrame y, leading into lazyframe z and then I do a couple of fixed computations (group by / sorting / aggregations etc) on z. It is very slow to let the query optimiser execute an optimised query plan on each iteration. Is there a way to reuse an optimised query plan?

Source: View source