liyang created KYLIN-1766:
-----------------------------

             Summary: 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


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)

Reply via email to