Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.34.0, 1.35.0, 1.36.0
Description
Doing:
FORMAT_DATE('%G-%V', DATE '2023-01-01')
results in:
'%G-01'
but should be:
2022-52
The week is wrong because the ISOWEEK format function is not setting the minimalDaysInFirstWeek to 4 and the ISOYEAR (%g or %G) was not implemented.
Attachments
Issue Links
- blocks
-
CALCITE-6582 Release Calcite 1.38.0
- Closed
- relates to
-
CALCITE-6233 Support parse of ISOWEEK on BigQuery library
- Open
- links to