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/19 14:41:14 UTC

[GitHub] [calcite] xy2953396112 commented on a diff in pull request #2795: [CALCITE-5135] Implement SQL DAY function

xy2953396112 commented on code in PR #2795:
URL: https://github.com/apache/calcite/pull/2795#discussion_r877154977


##########
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:
   How is it different from `DAYOFMONTH`?
   
   



-- 
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