[Bug](function) fix function in get wrong result when input const column (#19791)

fix function in get wrong result when input const column
This commit is contained in:
Pxl
2023-05-22 10:58:29 +08:00
committed by GitHub
parent f57b6adba9
commit d64be9565d
66 changed files with 135 additions and 221 deletions

View File

@ -122,7 +122,7 @@ typename Traits::BasePtr create_predicate_function(PrimitiveType type) {
APPLY_FOR_PRIMTYPE(M)
#undef M
default:
DCHECK(false) << "Invalid type.";
DCHECK(false) << "Invalid type: " << type_to_string(type);
}
return nullptr;
@ -142,7 +142,7 @@ typename Traits::BasePtr create_bitmap_predicate_function(PrimitiveType type) {
case TYPE_BIGINT:
return Creator::template create<TYPE_BIGINT>();
default:
DCHECK(false) << "Invalid type.";
DCHECK(false) << "Invalid type: " << type_to_string(type);
}
return nullptr;