[
https://issues.apache.org/jira/browse/KUDU-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jordan Birdsell updated KUDU-1722:
----------------------------------
Code Review: https://gerrit.cloudera.org/#/c/5119/
> 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
>
> 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)