[ 
https://issues.apache.org/jira/browse/KYLIN-2054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15564896#comment-15564896
 ] 

Shaofeng SHI commented on KYLIN-2054:
-------------------------------------

If the timestamp is not an epoch time, user can specify a "tsParser" class and 
a "tsPattern"; For example, for twitter message whose time value (property name 
is 'createdAt')  is "Jul 20, 2016 9:59:17 AM", set "Parser Properties" as 
follows:

tsColName=createdAt;tsParser=org.apache.kylin.source.kafka.DateTimeParser;tsPattern=MMM
 dd, yyyy hh:mm:ss aa

> TimedJsonStreamParser should support other time format
> ------------------------------------------------------
>
>                 Key: KYLIN-2054
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2054
>             Project: Kylin
>          Issue Type: Improvement
>          Components: streaming
>            Reporter: Shaofeng SHI
>            Assignee: Shaofeng SHI
>             Fix For: v1.6.0
>
>
> In current "TimedJsonStreamParser", it assumes the timestamp column is a long 
> type (unix time). While in some case the time is repesented by other 
> type/format, e.g, "Jul 20, 2016 9:59:17 AM". The parser need be able to parse 
> such a format.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to