YiwenWu commented on code in PR #3668: URL: https://github.com/apache/calcite/pull/3668#discussion_r1498501193
########## core/src/main/java/org/apache/calcite/rel/rel2sql/SqlImplementor.java: ########## @@ -1445,6 +1447,21 @@ public static SqlNode toSql(RexLiteral literal) { // Create a string without specifying a charset return SqlLiteral.createCharString((String) castNonNull(literal.getValue2()), POS); } + case GEO: { + Geometry geom = castNonNull(literal.getValueAs(Geometry.class)); + switch (typeName) { Review Comment: I am not sure that typeName `CHAR` or `VARCHAR` can be obtained directly under `GEO` family. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org