Will Noble created CALCITE-6054:
-----------------------------------

             Summary: LAST_DAY should support timestamps with local time zone
                 Key: CALCITE-6054
                 URL: https://issues.apache.org/jira/browse/CALCITE-6054
             Project: Calcite
          Issue Type: Bug
          Components: core
            Reporter: Will Noble


The [implementation for 
{{LAST_DAY}}|https://github.com/apache/calcite/blob/main/core/src/main/java/org/apache/calcite/adapter/enumerable/RexImpTable.java#L2497]
 currently throws an error when it encounters a {{TIMESTAMP WITH LOCAL TIME 
ZONE}}. Rather, it should adjust the value of such a timestamp based on the 
data context time zone, then treat it like a regular {{TIMESTAMP}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to