[
https://issues.apache.org/jira/browse/METRON-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629918#comment-15629918
]
Casey Stella commented on METRON-226:
-------------------------------------
Is this still needed with given the Stellar TO_EPOCH_TIMESTAMP function?
> Field transformation utility for time zone conversion
> -----------------------------------------------------
>
> Key: METRON-226
> URL: https://issues.apache.org/jira/browse/METRON-226
> Project: Metron
> Issue Type: New Feature
> Reporter: Sunny Kumar
> Priority: Minor
> Labels: platform
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> The user would be able to provide input of the timezone for a stream in json
> for the specific parser. The field transformation will convert the time stamp
> to UTC and will also take care of the Daylight Saving offset. The code in the
> JSON will look like:
> "fieldTransformations" : [
> {
> "input" : "timestamp",
> "transformation": "TRANSFORM_TO_UTC_EPOCH",
> "config":
> {
> "timeZone":"America/New_York"
> }
> }
> ],
> The timezone should be valid as per the list at:
> https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
> which are supported by the java.util.TimeZone package.
> An invalid timezone would be defaulted to UTC.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)