[ https://issues.apache.org/jira/browse/CALCITE-6215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Nuyanzin closed CALCITE-6215. ------------------------------------ Resolved in release 1.37.0 (2024-05-06) > Support century format datetime/timestamp in pg > ----------------------------------------------- > > Key: CALCITE-6215 > URL: https://issues.apache.org/jira/browse/CALCITE-6215 > Project: Calcite > Issue Type: Wish > Components: core > Affects Versions: 1.36.0 > Reporter: Caican Cai > Assignee: Caican Cai > Priority: Minor > Labels: pull-request-available > Fix For: 1.37.0 > > > Show support for century format in pg document > {code:java} > SELECT to_char(current_timestamp, 'CC') AS formatted_datetime; > formatted_datetime > -------------------- > 21 > (1 row) > SELECT to_char(current_date, 'CC') AS formatted_datetime; > formatted_datetime > -------------------- > 21 > (1 row) {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)