presto-connector/src/main/java/com/facebook/presto/maxcompute/utils/ArrowUtils.java [195:209]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private static long convertToEpochMillis(ArrowType.Timestamp timestampType, long epochTime)
    {
        switch (timestampType.getUnit()) {
            case SECOND:
                return epochTime * NANOS_PER_MILLI;
            case MILLISECOND:
                return epochTime;
            case MICROSECOND:
                return epochTime / MICROS_PER_MILLI;
            case NANOSECOND:
                return epochTime / NANOS_PER_MILLI;
            default:
                throw new UnsupportedOperationException("Unit not supported: " + timestampType.getUnit());
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



trino-connector/src/main/java/io/trino/plugin/maxcompute/utils/ArrowUtils.java [195:209]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private static long convertToEpochMillis(ArrowType.Timestamp timestampType, long epochTime)
    {
        switch (timestampType.getUnit()) {
            case SECOND:
                return epochTime * NANOS_PER_MILLI;
            case MILLISECOND:
                return epochTime;
            case MICROSECOND:
                return epochTime / MICROS_PER_MILLI;
            case NANOSECOND:
                return epochTime / NANOS_PER_MILLI;
            default:
                throw new UnsupportedOperationException("Unit not supported: " + timestampType.getUnit());
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



