@Test
  public void testVarCharToCharEqualityDefault() {
    VarcharTypeInfo vcharTypeInfo = new VarcharTypeInfo();
    CharTypeInfo charTypeInfo = new CharTypeInfo();

    Assert.assertNotEquals(vcharTypeInfo, charTypeInfo);
  }
Test that VARCHAR and CHAR are not considered to be the same.
serde/src/test/org/apache/hadoop/hive/serde2/typeinfo/TestBaseCharTypeInfo.java