presto-google-sheets/src/main/java/io/prestosql/plugin/google/sheets/SheetsRecordCursor.java/SheetsRecordCursor/checkFieldType
class SheetsRecordCursor:    private void checkFieldType(int field, Type expected)
    {
        Type actual = getType(field);
        checkArgument(actual.equals(expected), "Expected field %s to be type %s but is %s", field, expected, actual);
    }