I'm looking at this example
<https://github.com/milinda/calcite-tutorial/blob/master/src/main/java/org/pathirage/calcite/tutorial/planner/SimpleQueryPlanner.java>
and I'm thinking it's a much better approach for my use case where I need
to integrate calcite with an application and not connect to an Avatica
server.

But I'm lost regarding how can I obtain a "ResultSet" or an enumerable out
of the final plan
<https://github.com/milinda/calcite-tutorial/blob/master/src/main/java/org/pathirage/calcite/tutorial/planner/SimpleQueryPlanner.java#L81>
produced after optimizing the input query. In other words how can I execute
that plan ?

Would someone please share his knowledge regarding that ?

Thanks,
Gelbana

Reply via email to