Skip to content

Commit 08d2053

Browse files
committed
Add function registry for LPAD string function without pad text
1 parent 585cad3 commit 08d2053

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
@@ -137,6 +137,9 @@ std::vector<NativeFunction> GetStringFunctionRegistry() {
137137
NativeFunction("lpad", {}, DataTypeVector{utf8(), int32(), utf8()}, utf8(),
138138
kResultNullIfNull, "lpad", NativeFunction::kNeedsContext),
139139

140+
NativeFunction("lpad", {}, DataTypeVector{utf8(), int32()}, utf8(),
141+
kResultNullIfNull, "lpad_no_fill_text", NativeFunction::kNeedsContext),
142+
140143
NativeFunction("concatOperator", {}, DataTypeVector{utf8(), utf8()}, utf8(),
141144
kResultNullIfNull, "concatOperator_utf8_utf8",
142145
NativeFunction::kNeedsContext),

0 commit comments

Comments
 (0)