You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/09/23 18:02:00 UTC

[jira] [Created] (KYLIN-3583) Integer multiplication is performed where Long result is expected

Ted Yu created KYLIN-3583:
-----------------------------

             Summary: Integer multiplication is performed where Long result is expected
                 Key: KYLIN-3583
                 URL: https://issues.apache.org/jira/browse/KYLIN-3583
             Project: Kylin
          Issue Type: Bug
            Reporter: Ted Yu


In RecordEventTimeDetail :
{code}
        long timeStampForWeekBegin = timeStamp;
        timeStampForWeekBegin -= 3600000 * 24 * (calendar.get(Calendar.DAY_OF_WEEK) - 1);
{code}
Casting to long should be done first before multiplication.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)