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:
Zhengguo Yang
2021-08-18 09:05:40 +08:00
committed by GitHub
parent 2f90aaab8e
commit 8738ce380b
106 changed files with 1353 additions and 433 deletions

View File

@ -245,7 +245,8 @@ void* ExprContext::get_value(Expr* e, TupleRow* row) {
case TYPE_CHAR:
case TYPE_VARCHAR:
case TYPE_HLL:
case TYPE_OBJECT: {
case TYPE_OBJECT:
case TYPE_STRING: {
doris_udf::StringVal v = e->get_string_val(this, row);
if (v.is_null) {
return nullptr;