## Proposed changes pick from #39061 fix analyze where clause failed on mv do not analyze slot after replaceSlot to avoid duplicate columns in desc
This commit is contained in:
@ -694,6 +694,11 @@ public class SlotRef extends Expr {
|
||||
|
||||
@Override
|
||||
public void replaceSlot(TupleDescriptor tuple) {
|
||||
// do not analyze slot after replaceSlot to avoid duplicate columns in desc
|
||||
desc = tuple.getColumnSlot(col);
|
||||
type = desc.getType();
|
||||
if (!isAnalyzed) {
|
||||
analysisDone();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user