Skip to content

Commit

Permalink
Add function registry for LPAD string function without pad text
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroantunes committed May 3, 2021
1 parent 585cad3 commit 08d2053
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpp/src/gandiva/function_registry_string.cc
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ std::vector<NativeFunction> GetStringFunctionRegistry() {
NativeFunction("lpad", {}, DataTypeVector{utf8(), int32(), utf8()}, utf8(),
kResultNullIfNull, "lpad", NativeFunction::kNeedsContext),

NativeFunction("lpad", {}, DataTypeVector{utf8(), int32()}, utf8(),
kResultNullIfNull, "lpad_no_fill_text", NativeFunction::kNeedsContext),

NativeFunction("concatOperator", {}, DataTypeVector{utf8(), utf8()}, utf8(),
kResultNullIfNull, "concatOperator_utf8_utf8",
NativeFunction::kNeedsContext),
Expand Down

0 comments on commit 08d2053

Please sign in to comment.