[
https://issues.apache.org/jira/browse/HIVE-20838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16678615#comment-16678615
]
Jaume M commented on HIVE-20838:
--------------------------------
Subtle bug: {{catch (IllegalArgumentException | DateTimeParseException eTZ)}}
should be {{catch (IllegalArgumentException | DateTimeException eTZ)}}. Pretty
nice that the tests caught it.
> Timestamps with timezone are set to null when using the streaming API
> ---------------------------------------------------------------------
>
> Key: HIVE-20838
> URL: https://issues.apache.org/jira/browse/HIVE-20838
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Affects Versions: 3.1.0
> Reporter: Jaume M
> Assignee: Jaume M
> Priority: Major
> Attachments: HIVE-20838.1.patch, HIVE-20838.2.patch,
> HIVE-20838.3.patch, HIVE-20838.3.patch, HIVE-20838.4.patch,
> HIVE-20838.5.patch, HIVE-20838.6.patch, HIVE-20838.7.patch
>
>
> For example:
> {code}
> beeline> create table default.timest (a TIMESTAMP) stored as orc " +
> "TBLPROPERTIES('transactional'='true')
> # And then:
> connection.write("2018-10-19 10:35:00 America/Los_Angeles".getBytes());
> {code}
> inserts NULL.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)