@Override
  public boolean isDistanceGreaterPrimitive(Long s1, Long s2, int amt) {
    return s1 != null && s2 != null && s1.compareTo(s2) > 0;
  }
Calculates ranges on longs representing localtz timestamps in seconds returned by
IntervalDayTimeColumnVector.getTotalSeconds. Refer to VectorPTFGroupBatches.getValue for
INTERVAL_DAY_TIME.
ql/src/java/org/apache/hadoop/hive/ql/udf/ptf/ValueBoundaryScanner.java