You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2023/03/13 10:01:00 UTC
[jira] [Created] (PHOENIX-6902) Switch to ISOChronology or make it configurable
Istvan Toth created PHOENIX-6902:
------------------------------------
Summary: Switch to ISOChronology or make it configurable
Key: PHOENIX-6902
URL: https://issues.apache.org/jira/browse/PHOENIX-6902
Project: Phoenix
Issue Type: Bug
Components: core
Reporter: Istvan Toth
Phoenix has historically used the default java.util.GregorianCalendar , and its Joda implementation, org.joda.time.chrono.GJChronology.
However, both the SQL standard, and the modern java.time library uses ISOChronology.
Either switch to ISOChronology, or preferably add an option to switch between GregorianCalendar and ISOChronology.
AFAIU this would have to be a system-wide config.
This is closely related to switching to the java.time API internally.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)