[Enhancement](Nereids)enable nereids DML by default. (#21539)
TODO: fix cast agg_state type when do insert
This commit is contained in:
@ -111,12 +111,13 @@ public class AggStateType extends ScalarType {
|
||||
return false;
|
||||
}
|
||||
AggStateType other = (AggStateType) o;
|
||||
// compare with the basic type.
|
||||
if (other.subTypes == null) {
|
||||
return true;
|
||||
}
|
||||
if ((subTypes == null) != (other.getSubTypes() == null)) {
|
||||
return false;
|
||||
}
|
||||
if (subTypes == null) {
|
||||
return true;
|
||||
}
|
||||
int subTypeNumber = subTypeNullables.size();
|
||||
if (subTypeNumber != other.subTypeNullables.size()) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user