You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Julien Le Dem (JIRA)" <ji...@apache.org> on 2016/08/23 16:27:20 UTC

[jira] [Commented] (ARROW-270) [Format] Define more generic Interval logical type

    [ https://issues.apache.org/jira/browse/ARROW-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15433138#comment-15433138 ] 

Julien Le Dem commented on ARROW-270:
-------------------------------------

How about the following?  [~sphillips] [~jnadeau] [~wesmckinn]
{noformat}
enum IntervalUnit: short { YEAR_MONTH, DAY_TIME}
table interval {
  IntervalUnit: unit;
}
{noformat}

References:
http://www.contrib.andrew.cmu.edu/~shadow/sql/sql1992.txt section 4.5.2
https://msdn.microsoft.com/en-us/library/ms716506(v=vs.85).aspx
http://www.ibm.com/support/knowledgecenter/SSGU8G_12.1.0/com.ibm.esqlc.doc/ids_esqlc_0190.htm

> [Format] Define more generic Interval logical type
> --------------------------------------------------
>
>                 Key: ARROW-270
>                 URL: https://issues.apache.org/jira/browse/ARROW-270
>             Project: Apache Arrow
>          Issue Type: Improvement
>            Reporter: Wes McKinney
>
> Per discussion in https://github.com/apache/arrow/commit/e7e399db5fc6913e67426514279f81766a0778d2#commitcomment-18711366, we can create an {{Interval}} type with a unit to be more general.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)