You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2022/05/20 13:23:13 UTC
[GitHub] [calcite] JiajunBernoulli commented on a diff in pull request #2795: [CALCITE-5135] Implement SQL DAY function
JiajunBernoulli commented on code in PR #2795:
URL: https://github.com/apache/calcite/pull/2795#discussion_r878139599
##########
core/src/main/java/org/apache/calcite/sql/SqlJdbcFunctionCall.java:
##########
@@ -732,6 +732,7 @@ private JdbcToInternalLookupTable() {
map.put("MONTH", simple(SqlStdOperatorTable.MONTH));
map.put("WEEK", simple(SqlStdOperatorTable.WEEK));
map.put("DAYOFYEAR", simple(SqlStdOperatorTable.DAYOFYEAR));
+ map.put("DAY", simple(SqlStdOperatorTable.DAYOFMONTH));
Review Comment:
Thanks for your review. It is same as `DAYOFMONTH `, but it is not a valid JDBC function. I've deleted it.
--
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-unsubscribe@calcite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org