You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2014/05/03 08:45:16 UTC
[jira] [Commented] (DRILL-621) Timezone map should be exposed as a
protobuf enum
[ https://issues.apache.org/jira/browse/DRILL-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13988600#comment-13988600 ]
Julian Hyde commented on DRILL-621:
-----------------------------------
I disagree with that approach. I think timezones should be represented as strings. The interpretation of the strings is left to a timezone library.
The strings can probably be dictionary encoded, so won't take more than a few bits in practice.
> Timezone map should be exposed as a protobuf enum
> -------------------------------------------------
>
> Key: DRILL-621
> URL: https://issues.apache.org/jira/browse/DRILL-621
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Parth Chandra
>
> The Timezone map in DateUtility should be exposed as a protobuf enum so that the TimeStampTZ type can be decoded by an RPC client (e.g. the C++ client). This is also useful if newer timezones are created: older timezone values will not be lost and newer values will be automatically available to newer builds.
--
This message was sent by Atlassian JIRA
(v6.2#6252)