org.apache.doris.catalog.Type is not an enum, so should not judge the equivalence of Type using "==" or "!="