[
https://issues.apache.org/jira/browse/KYLIN-4010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16884972#comment-16884972
]
Xiaoxiang Yu edited comment on KYLIN-4010 at 7/15/19 9:21 AM:
--------------------------------------------------------------
To enable event time changed by time zone, please set following in receiver
side.
1. kylin.stream.enable-reset-ts=true
2. kylin.web.timezone=GMT+X
If these two entry are configured correctly, all *TimeDerivedColumn* and
*Latest Event Ingest Time* / *Latest Event Time* / *Segment create time* /
*Segment update time* will be add offset decided by timezone.
I live in Shanghai, in GMT+8 , so I use following config, and the screenshots
are the result :
kylin.stream.enable-reset-ts=true
kylin.web.timezone=GMT+8
!image-2019-07-15-17-15-31-209.png!
!image-2019-07-15-17-17-39-568.png!
was (Author: hit_lacus):
To enable event time changed by time zone, please set following in receiver
side.
1. kylin.stream.enable-reset-ts=true
2. kylin.web.timezone=GMT+X
If these two entry are configured correctly, all *TimeDerivedColumn* and
*Latest Event Ingest Time* / *Latest Event Time* / *Segment create time* /
*Segment update time* will be add offset decided by timezone.
!image-2019-07-15-17-15-31-209.png!
!image-2019-07-15-17-17-39-568.png!
> TimeZone is hard-coded in function makeSegmentName for class CubeSegment
> ------------------------------------------------------------------------
>
> Key: KYLIN-4010
> URL: https://issues.apache.org/jira/browse/KYLIN-4010
> Project: Kylin
> Issue Type: Improvement
> Components: Others
> Affects Versions: v3.0.0-alpha
> Reporter: zengrui
> Assignee: Xiaoxiang Yu
> Priority: Minor
> Attachments: image-2019-07-15-17-15-31-209.png,
> image-2019-07-15-17-17-04-029.png, image-2019-07-15-17-17-39-568.png
>
>
> In Real-Time Streaming Cube when I send some records to kafka topic, the
> tmestamp for the record is 2019-01-01 00:00:00.000, but kylin create a
> segment named 20181231160000_20181231170000.
> Then I found that TimeZone is hard-coded to "GMT" in function makeSegmentName
> for class CubeSegment. I think that it should be config in kylin.properties.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)