public static boolean doesPrimitiveMatchTypeParams( HiveBaseChar value, BaseCharTypeInfo typeInfo) { return typeInfo.getLength() == value.getCharacterLength(); }
public static boolean doesWritableMatchTypeParams( HiveBaseCharWritable writable, BaseCharTypeInfo typeInfo) { return typeInfo.getLength() >= writable.getCharacterLength(); }