Class GAge.AgeTimeStampToTime

java.lang.Object
org.apache.drill.exec.expr.fn.impl.GAge.AgeTimeStampToTime
All Implemented Interfaces:
DrillFunc, DrillSimpleFunc
Enclosing class:
GAge

public static class GAge.AgeTimeStampToTime extends Object implements DrillSimpleFunc
Binary form, returns the interval between `right` and `left`. Note that this function does not count calendar boundary crossings, e.g. between yesterday 23:00 and today 01:00 is two hours, not one day. Modeled on the AGE function in PostgreSQL, see https://www.postgresql.org/docs/current/functions-datetime.html.
  • Constructor Details

    • AgeTimeStampToTime

      public AgeTimeStampToTime()
  • Method Details