[ 
https://issues.apache.org/jira/browse/HIVE-24468?focusedWorklogId=519861&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-519861
 ]

ASF GitHub Bot logged work on HIVE-24468:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Dec/20 20:39
            Start Date: 03/Dec/20 20:39
    Worklog Time Spent: 10m 
      Work Description: belugabehr commented on pull request #1728:
URL: https://github.com/apache/hive/pull/1728#issuecomment-738293741


   @pvary Just so we are clear "now()" is not an SQL function.  It's 
implemented on this DBListener class:
   
   ```
     private int now() {
       long millis = System.currentTimeMillis();
       millis /= 1000;
       if (millis > Integer.MAX_VALUE) {
         LOG.warn("We've passed max int value in seconds since the epoch, " +
             "all notification times will be the same!");
         return Integer.MAX_VALUE;
       }
       return (int)millis;
     }
   ```
   
   
https://github.com/apache/hive/blob/master/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java#L941-L950


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 519861)
    Time Spent: 1.5h  (was: 1h 20m)

> Use Event Time instead of Current Time in Notification Log DB Entry
> -------------------------------------------------------------------
>
>                 Key: HIVE-24468
>                 URL: https://issues.apache.org/jira/browse/HIVE-24468
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to