private boolean supportsBinaryEncoding(FieldSchema fs) { try { ColumnType colType = parseColumnType(fs); // Only boolean, integer and floating point types can use binary storage. return colType.isBoolean() || colType.isIntegerType() || colType.isFloatingPointType(); } catch (TableLoadingException e) { return false; } }