mihaibudiu commented on code in PR #4132:
URL: https://github.com/apache/calcite/pull/4132#discussion_r1907956624
##########
core/src/main/java/org/apache/calcite/sql/dialect/PrestoSqlDialect.java:
##########
@@ -146,7 +148,14 @@ private static void unparseUsingLimit(SqlWriter writer,
@Nullable SqlNode offset
}
@Override public @Nullable SqlNode getCastSpec(RelDataType type) {
- return super.getCastSpec(type);
+ switch (type.getSqlTypeName()) {
Review Comment:
Is cast the only place where a type name can appear?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]