drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Hyde (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-621) Timezone map should be exposed as a protobuf enum
Date Sat, 03 May 2014 06:45:16 GMT

    [ 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

View raw message