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)

Reply via email to