Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7060

Restrict Impala to only support timezones that work in Hive (IANA + Java)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Backend
    • Labels:
      None
    • Epic Color:
      ghx-label-1

      Description

      IANA timezone integration (IMPALA-3307) will drop the support for many non-standard timezone aliases. As IMPALA-3307 is a very large change, its release may be delayed - meanwhile, it would be better to discourage Impala 3.x users from using timezone names that will not be supported in the future. For this reason, the current boost based implementation could drop the support for non-standard aliases.

      Note that the current implementation has some major issues:

      • Some of the aliases are ambiguous - Impala will always interpret it the same way, but this is based on an arbitrary ordering of timezones, so the timezone may be actually different than what the user wanted. I think that it is better the print a warning in this case.
      • If the name is not among the standard names, the lookup among aliases is extremely slow (linear search on all supported standard timezones).
      • Most of the aliases are not covered by test cases.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                csringhofer Csaba Ringhofer
                Reporter:
                csringhofer Csaba Ringhofer
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: