[fix](Nereids): avoid Exception to cause analyze time too long#23627
[fix](Nereids): avoid Exception to cause analyze time too long#23627jackwener merged 1 commit intoapache:masterfrom
Conversation
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
| // TODO: resolve AnyDataType invoke toCatalogDataType | ||
| if (signatureType instanceof ArrayType) { | ||
| if (((ArrayType) signatureType).getItemType() instanceof AnyDataType) { | ||
| return false; | ||
| } | ||
| } |
There was a problem hiding this comment.
return null /special catalog type for any data type may be better?
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
Proposed changes
AnyDataType will cause toCatalogDataType throw Exception, it will cost much time.
Avoid to throw Exception in Analyzer.
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...