Skip to content

Commit 2c929a9

Browse files
committed
Add function registry for LPAD string function
1 parent aecaff6 commit 2c929a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cpp/src/gandiva/function_registry_string.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ std::vector<NativeFunction> GetStringFunctionRegistry() {
134134
utf8(), kResultNullIfNull, "substr_utf8_int64",
135135
NativeFunction::kNeedsContext),
136136

137+
NativeFunction("lpad", {}, DataTypeVector{utf8(), int32(), utf8()}, utf8(),
138+
kResultNullIfNull, "lpad", NativeFunction::kNeedsContext),
139+
137140
NativeFunction("concatOperator", {}, DataTypeVector{utf8(), utf8()}, utf8(),
138141
kResultNullIfNull, "concatOperator_utf8_utf8",
139142
NativeFunction::kNeedsContext),

0 commit comments

Comments
 (0)