presto-local-file/src/main/java/io/prestosql/plugin/localfile/LocalFileRecordCursor.java/LocalFileRecordCursor/getLong
class LocalFileRecordCursor:    @Override
    public long getLong(int field)
    {
        if (getType(field).equals(TIMESTAMP)) {
            return Instant.from(ISO_FORMATTER.parse(getFieldValue(field))).toEpochMilli();
        }
        else {
            checkFieldType(field, BIGINT, INTEGER);
            return Long.parseLong(getFieldValue(field));
        }
    }