Skip to content

Commit

Permalink
fix(replace_first): Fix up registration of replace_first (facebookinc…
Browse files Browse the repository at this point in the history
…ubator#11556)

Summary:
The function should be replace_first not replaceFirst. This was incorrectly registered so users were not picking it up. Registering it to the correct name now.


Differential Revision: D66027440
  • Loading branch information
yuandagits authored and facebook-github-bot committed Nov 16, 2024
1 parent 0a422f7 commit 8b6730c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ void registerStringFunctions(const std::string& prefix) {
registerSplitToMap(prefix);

VELOX_REGISTER_VECTOR_FUNCTION(udf_concat, prefix + "concat");
VELOX_REGISTER_VECTOR_FUNCTION(udf_replaceFirst, prefix + "replaceFirst");
VELOX_REGISTER_VECTOR_FUNCTION(udf_replaceFirst, prefix + "replace_first");
VELOX_REGISTER_VECTOR_FUNCTION(udf_replace, prefix + "replace");
VELOX_REGISTER_VECTOR_FUNCTION(udf_reverse, prefix + "reverse");
VELOX_REGISTER_VECTOR_FUNCTION(udf_to_utf8, prefix + "to_utf8");
Expand Down

0 comments on commit 8b6730c

Please sign in to comment.