Type type = column.getDataType();
if (translateDTI) {
if (type.isIntervalType()) {
type = CharacterType.getCharacterType(
Types.SQL_VARCHAR, type.displaySize());
} else if (type.isDateTimeTypeWithZone()) {
type = ((DateTimeType) type)
.getDateTimeTypeWithoutZone();
}
}