Change variable and namespace name in BE (#268)
Change 'palo' to 'doris'
This commit is contained in:
committed by
morningman
parent
ad12d907da
commit
37b4cafe87
@ -15,15 +15,15 @@
|
||||
// specific language governing permissions and limitations
|
||||
// under the License.
|
||||
|
||||
#ifndef BDG_PALO_BE_RUNTIME_STRING_VALUE_H
|
||||
#define BDG_PALO_BE_RUNTIME_STRING_VALUE_H
|
||||
#ifndef DORIS_BE_RUNTIME_STRING_VALUE_H
|
||||
#define DORIS_BE_RUNTIME_STRING_VALUE_H
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "udf/udf.h"
|
||||
#include "util/hash_util.hpp"
|
||||
|
||||
namespace palo {
|
||||
namespace doris {
|
||||
|
||||
// The format of a string-typed slot.
|
||||
// The returned StringValue of all functions that return StringValue
|
||||
@ -115,11 +115,11 @@ struct StringValue {
|
||||
// Trims leading and trailing spaces.
|
||||
StringValue trim() const;
|
||||
|
||||
void to_string_val(palo_udf::StringVal* sv) const {
|
||||
*sv = palo_udf::StringVal(reinterpret_cast<uint8_t*>(ptr), len);
|
||||
void to_string_val(doris_udf::StringVal* sv) const {
|
||||
*sv = doris_udf::StringVal(reinterpret_cast<uint8_t*>(ptr), len);
|
||||
}
|
||||
|
||||
static StringValue from_string_val(const palo_udf::StringVal& sv) {
|
||||
static StringValue from_string_val(const doris_udf::StringVal& sv) {
|
||||
return StringValue(reinterpret_cast<char*>(sv.ptr), sv.len);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user