Rodrigo Rueda created CALCITE-6233:
--------------------------------------

             Summary: Support parse of ISOWEEK on BigQuery library
                 Key: CALCITE-6233
                 URL: https://issues.apache.org/jira/browse/CALCITE-6233
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.36.0, 1.35.0, 1.34.0
            Reporter: Rodrigo Rueda


Add support to:
{code:java}
PARSE_DATE('%G-%V-%a', '2022-52-Sun'){code}
that results in
{code:java}
2023-01-01{code}
Currently, the FormatElementEnum.IW  doesn't handle the parsing, because to do 
so it needs to set the calendar in the DateFormat class to a ISO8601 calendar, 
but the current design only allows it to specify the pattern.



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

Reply via email to