Why does Hive not use calcite in adaptor way?

2021-06-23 Thread guangyuan wang
I have read the design doc of the Hive planner recently. I've found the Hive only uses calcite as a SQL optimizer. Translate the optimized relnode to hive operator tree, and then transfer it to the Tez execution DAG. [image: image.png] Why not implement the calcite adaptor, this way is easier to us

[Question]Why does Hive not use calcite in adaptor way?

2021-06-25 Thread guangyuan wang
I have read the design doc of the Hive planner recently. I've found the Hive only uses calcite as a SQL optimizer. Translate the optimized relnode to hive operator tree, and then transfer it to the Tez execution DAG. Why not implement the calcite adaptor, this way is easier to use calcite? The lin