Add long text type STRING, with a maximum length of 2GB. Usage is similar to varchar, and there is no guarantee for the performance of storing extremely long data (#6391)
This commit is contained in:
@ -110,6 +110,7 @@ void CaseExpr::get_child_val(int child_idx, ExprContext* ctx, TupleRow* row, Any
|
||||
case TYPE_VARCHAR:
|
||||
case TYPE_HLL:
|
||||
case TYPE_OBJECT:
|
||||
case TYPE_STRING:
|
||||
*reinterpret_cast<StringVal*>(dst) = _children[child_idx]->get_string_val(ctx, row);
|
||||
break;
|
||||
case TYPE_DECIMALV2:
|
||||
@ -154,6 +155,7 @@ bool CaseExpr::any_val_eq(const TypeDescriptor& type, const AnyVal* v1, const An
|
||||
case TYPE_VARCHAR:
|
||||
case TYPE_HLL:
|
||||
case TYPE_OBJECT:
|
||||
case TYPE_STRING:
|
||||
return AnyValUtil::equals(type, *reinterpret_cast<const StringVal*>(v1),
|
||||
*reinterpret_cast<const StringVal*>(v2));
|
||||
case TYPE_DECIMALV2:
|
||||
|
||||
Reference in New Issue
Block a user