You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2016/07/28 06:48:22 UTC

[jira] [Closed] (KYLIN-1766) CubeTupleConverter.translateResult() is slow due to date conversion

     [ https://issues.apache.org/jira/browse/KYLIN-1766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shaofeng SHI closed KYLIN-1766.
-------------------------------

Resolved in release 1.5.3 (2-16-07-28)

> CubeTupleConverter.translateResult() is slow due to date conversion
> -------------------------------------------------------------------
>
>                 Key: KYLIN-1766
>                 URL: https://issues.apache.org/jira/browse/KYLIN-1766
>             Project: Kylin
>          Issue Type: Improvement
>            Reporter: liyang
>            Assignee: liyang
>             Fix For: v1.5.3
>
>         Attachments: profile.png
>
>
> As attached, profiling shows that current filling tuple is slow especially about dates. The norm form "yyyy-mm-dd" is parsed into a Date, then converted into # since epic day. This is slow because of Java's slow SimpleDateFormat.
> An idea is to refine the norm form of date/time to be the time millis. This will save a lot of str <--> date conversions. However the change impacts dictionary, lookup snapshot, and maybe data ingestion. Also need to think about backward compatibility.



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