case TIME_ARRAY: return Type.TIME;
case TIMEZ_ARRAY: return Type.TIMEZ;
case TIMESTAMP_ARRAY: return Type.TIMESTAMP;
case TIMESTAMPZ_ARRAY: return Type.TIMESTAMPZ;
case INTERVAL_ARRAY: return Type.INTERVAL;
default: throw new InvalidOperationException("Invalid array type: " + arrayType.name());
}
}