[fix](nereids)change lag/lead function signature (#40161)

## Proposed changes

pick from master https://github.com/apache/doris/pull/40060

<!--Describe your changes.-->
This commit is contained in:
starocean999
2024-08-30 12:05:47 +08:00
committed by GitHub
parent 163193b1d4
commit 1288676b68
2 changed files with 35 additions and 2 deletions

View File

@ -19,7 +19,6 @@ package org.apache.doris.nereids.trees.expressions.functions.window;
import org.apache.doris.nereids.types.BigIntType;
import org.apache.doris.nereids.types.BooleanType;
import org.apache.doris.nereids.types.CharType;
import org.apache.doris.nereids.types.DataType;
import org.apache.doris.nereids.types.DateTimeType;
import org.apache.doris.nereids.types.DateTimeV2Type;
@ -64,7 +63,6 @@ public interface RequireTrivialTypes {
DateTimeV2Type.SYSTEM_DEFAULT,
TimeType.INSTANCE,
TimeV2Type.INSTANCE,
CharType.SYSTEM_DEFAULT,
VarcharType.SYSTEM_DEFAULT,
StringType.INSTANCE
);