Summary: We are now executing the query in DataFusion after getting the estimated cardinality, so the functionality of the adaptive cost model is working.
Demo:
This is joblight 4a,4b,4c without --adaptive:
This is joblight 4a,4b,4c with --adaptive:
Details:
We had to use our own optimizer instead of DataFusion's so that we could correctly take the results and put them back into the memo.
Summary: We are now executing the query in DataFusion after getting the estimated cardinality, so the functionality of the adaptive cost model is working.
Demo: This is joblight 4a,4b,4c without
--adaptive
:This is joblight 4a,4b,4c with
--adaptive
:Details: