zhaojiandong opened a new issue #6343: Druid parse error on formatted time 
field with non-zero timezone
URL: https://github.com/apache/incubator-druid/issues/6343
 
 
   part of jvm.config:
   ```
   -Duser.timezone=Asia/Shanghai
   ```
   timestampSpec config :
   ```
   "timestampSpec": {
       "format": "yyyy-MM-dd HH:mm:ss",
       "column": "logTime"
   }
   ```
   events example:
   ```json
   {"logTime":"2018-09-10 18:00:00","dim1":"d1","dim2":"d2","value":100}
   {"logTime":"2018-09-10 18:00:00","dim1":"d1","dim2":"d2","value":90}
   ```
   We set user.timezone=Asia/Shanghai, so the correct timestamp is 
1536573600000. But druid specifies the UTC timezone, and the TimestampParser 
recognizes  '2018-09-10 18:00:00'  as  '2018-09-10 18:00:00+00:00' , so it's 
parsed to 1536602400000.
   I will fixed it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to