@Test
public void testGetTypeFromNameShouldNotResolveNonPrimitiveNames() {

  String[] nonPrimitiveNames = {"custom", "list", "map", "set", "udt", "tuple"};
  for (String name : nonPrimitiveNames) {
    try {
      assertThat(CodecUtils.getTypeFromName(name)).isNull();
      fail("InvalidTypeException expected for " + name);
    } catch (InvalidTypeException ite) {
      // expected
    }
  }
}