[ https://issues.apache.org/jira/browse/HIVE-9298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Dere updated HIVE-9298: ----------------------------- Attachment: HIVE-9298.3.patch patch v3, changes per RB feedback: - Add Joda to shade goal - Use Long.parseLong() rather than BigDecimal - change serdeConstants using thrift file - Add separators/nullSequence/lastColumnTakesRest to lazy OI params, cuts down on the number of args in the various lazy methods. > Support reading alternate timestamp formats > ------------------------------------------- > > Key: HIVE-9298 > URL: https://issues.apache.org/jira/browse/HIVE-9298 > Project: Hive > Issue Type: Bug > Components: Serializers/Deserializers > Reporter: Jason Dere > Assignee: Jason Dere > Attachments: HIVE-9298.1.patch, HIVE-9298.2.patch, HIVE-9298.3.patch > > > There are some users who want to be able to parse ISO-8601 timestamps, as > well to set their own custom timestamp formats. We may be able to support > this in LazySimpleSerDe through the use of a SerDe parameter to specify one > or more alternative timestamp patterns to use to parse timestamp values from > string. > If we are doing this it might also be nice to work in support for HIVE-3844, > to parse numeric strings as timestamp by treating the numeric value as millis > since Unix epoch. This can be enabled through the SerDe params as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)