calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amogh Margoor <>
Subject RelNode to SQLNode converter
Date Tue, 01 Dec 2015 08:28:27 GMT
We have an usecase where we need to just send back optimized query as SQL,
without executing it. So we needed an utility to convert RelNode back to
SQL, and found most of the logic to be in JDBCRel. As we needed it for non
JDBC source, we created an utility to do so:

Utility is almost completely copy-pasted from JDBCRels with few fixes from
our side to make it work. If such utility will be useful in Calcite then
let us know, we can plan raising PRs with required UTs.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message