You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Xiaoxiang Yu (JIRA)" <ji...@apache.org> on 2019/07/15 09:14:00 UTC
[jira] [Comment Edited] (KYLIN-4010) TimeZone is hard-coded in
function makeSegmentName for class CubeSegment
[ 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:13 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.
was (Author: hit_lacus):
To enable event time changed by time zone, please set
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.
> 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
>
> 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)