You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Jordan Birdsell (JIRA)" <ji...@apache.org> on 2016/11/18 06:01:58 UTC

[jira] [Resolved] (KUDU-1722) Range Partition Failure on UNIXTIME_MICROS using non-default bound types

     [ https://issues.apache.org/jira/browse/KUDU-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jordan Birdsell resolved KUDU-1722.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

Commit 7a4fafe79da19c6838c96955fbb39276f5675bd4

> Range Partition Failure on UNIXTIME_MICROS using non-default bound types
> ------------------------------------------------------------------------
>
>                 Key: KUDU-1722
>                 URL: https://issues.apache.org/jira/browse/KUDU-1722
>             Project: Kudu
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>            Reporter: Jordan Birdsell
>            Assignee: Jordan Birdsell
>            Priority: Minor
>             Fix For: 1.2.0
>
>
> Errors are returned when attempting to add range partition bounds for a unixtime_micros value:
> {code}
> Error creating table type-test on the master: invalid type int64 provided for column 'unixtime_micros_val' (expected timestamp)
> {code}
> This is happening because the logic to convert the values to make the LowerBound Inclusive and UpperBound Exclusive causes the unixtime_micros value to be converted to an int64. https://github.com/cloudera/kudu/blob/09bf03401e2ff6b1b2c041a2e94268ec5351d7b0/src/kudu/common/partition.cc#L1015
> Since the partial row does not cast types, this causes the error.



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