You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "itxiangkui (Jira)" <ji...@apache.org> on 2022/04/26 09:35:00 UTC
[jira] [Created] (CALCITE-5113) function week(date 'xxx') return an error number
itxiangkui created CALCITE-5113:
-----------------------------------
Summary: function week(date 'xxx') return an error number
Key: CALCITE-5113
URL: https://issues.apache.org/jira/browse/CALCITE-5113
Project: Calcite
Issue Type: Bug
Reporter: itxiangkui
0: jdbc:calcite:model=src/test/resources/mode> select week(date '2022-01-01');
+--------+
| EXPR$0 |
+--------+
| 52 |
+--------+
mysql> select week(date '2022-01-01');
+-------------------------+
| week(date '2022-01-01') |
+-------------------------+
| 0 |
+-------------------------+
1 row in set (0.01 sec)
--
This message was sent by Atlassian Jira
(v8.20.7#820007)