Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-964

Rename "timezone" connection property to "timeZone"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:
      None

      Description

      Rename "timezone" connection property to "timeZone", to be consistent with java.util.TimeZone (two words in camel case). Also rename CalciteConnectionProperty.TIMEZONE and BuiltInConnectionProperty.TIMEZONE to TIME_ZONE.

      ConnectionConfig.timeZone() is already OK.

      Connect string properties are matched case-insensitively, and so "jdbc:calcite:timezone=gmt+3" will continue to work. So will "timeZone", "TIME_ZONE", "TIMEZONE".

        Attachments

          Activity

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              julianhyde Julian Hyde
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: