We had a few offline conversations about the n-to-one-to-n proposal, which is to support any engine query to any other engine query.
This issue is the feature quest to introduce Presto SQL as the input query and translate it into intermediate Coral representation and then it can be translated to other engines that are already supported in Coral output.
There are a few stages for this feature:
1) Parse Trino SQL to Calcite SqlNode
2) Calcite SqlNode to Trino RelNode (most work is about the function resolver)
3) Trino RelNode to Intermediate Coral RelNode
4) End to end test
We had a few offline conversations about the n-to-one-to-n proposal, which is to support any engine query to any other engine query.
This issue is the feature quest to introduce Presto SQL as the input query and translate it into intermediate Coral representation and then it can be translated to other engines that are already supported in Coral output.
There are a few stages for this feature: 1) Parse Trino SQL to Calcite SqlNode 2) Calcite SqlNode to Trino RelNode (most work is about the function resolver) 3) Trino RelNode to Intermediate Coral RelNode 4) End to end test