[Improvement](datev2) push down datev2 predicates with date literal (#17522)

This commit is contained in:
Gabriel
2023-03-08 16:54:54 +08:00
committed by GitHub
parent eea6d770d7
commit feacb15e71
5 changed files with 108 additions and 0 deletions

View File

@ -508,6 +508,10 @@ public abstract class Type {
return isScalarType(PrimitiveType.DATEV2);
}
public boolean isDateV2OrDateTimeV2() {
return isScalarType(PrimitiveType.DATEV2) || isScalarType(PrimitiveType.DATETIMEV2);
}
public boolean hasTemplateType() {
return false;
}