Hi guys, I recently start learning Calcite(1.8.0) and i have following use case: transform a list of strings like "SUM(x) / SUM(y) as myRatio", "MAX(z) as maxZ" or "CASE WHEN …” to AggCalls and use it in ReBuilder later. So seems like i should do following: convert string -> sql node -> real node. I converted String to SqlNode using SqlParser.parseExpression and tried Planner.rel(sqlNode) to convert SqlNode to RelNode but no luck. Also tried to create SqlToRelConverter myself, but cannot find out how to create validator, catalog reader and cluster from config created with JdbcSchema.
How can i convert SqlNode expression(not query!) to RelNode? Thanks in advance, Sergey Likhoman
