[Enhancement](Nereids)enable nereids DML by default. (#21539)

TODO: fix cast agg_state type when do insert
This commit is contained in:
mch_ucchi
2023-07-19 13:52:15 +08:00
committed by GitHub
parent d8272b16e9
commit f668b3965e
17 changed files with 22 additions and 26 deletions

View File

@ -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;