odps-sdk/odps-sdk-commons/src/main/java/com/aliyun/odps/io/IntervalDayTimeWritable.java [152:161]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2) {
      long thisValue = readLong(b1, s1);
      long thatValue = readLong(b2, s2);
      if (thisValue == thatValue) {
        int thisNano = readInt(b1, s1 + 8);
        int thatNano = readInt(b2, s2 + 8);
        return thisNano < thatNano ? -2 : thisNano == thatNano ? 0 : 2;
      }
      return thisValue < thatValue ? -1 : 1;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



odps-sdk/odps-sdk-commons/src/main/java/com/aliyun/odps/io/TimestampNtzWritable.java [155:164]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2) {
      long thisValue = readLong(b1, s1);
      long thatValue = readLong(b2, s2);
      if (thisValue == thatValue) {
        int thisNano = readInt(b1, s1 + 8);
        int thatNano = readInt(b2, s2 + 8);
        return thisNano < thatNano ? -2 : thisNano == thatNano ? 0 : 2;
      }
      return thisValue < thatValue ? -1 : 1;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



