diff --git a/velox/functions/sparksql/Register.cpp b/velox/functions/sparksql/Register.cpp index 39f96b0e5d4b..d28af6d6a9cb 100644 --- a/velox/functions/sparksql/Register.cpp +++ b/velox/functions/sparksql/Register.cpp @@ -81,6 +81,10 @@ void registerFunctions(const std::string& prefix) { registerFunction({prefix + "chr"}); registerFunction({prefix + "ascii"}); + registerFunction( + {prefix + "lpad"}); + registerFunction( + {prefix + "rpad"}); registerFunction( {prefix + "substring"}); registerFunction(