[
https://issues.apache.org/jira/browse/HIVE-20838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16701148#comment-16701148
]
Gopal V commented on HIVE-20838:
--------------------------------
LGTM - +1
The string to timestamp goes via the date route during failure - "2013-02-12
21:04:XX" -> "2013-02-12 00:00:00" instead of NULL.
> 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.10.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, HIVE-20838.8.patch, HIVE-20838.9.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)