From e00887c395ecf93e0c62daf923f33732701402ef Mon Sep 17 00:00:00 2001 From: Pramod Chunduri <43007047+pchunduri6@users.noreply.github.com> Date: Tue, 21 Nov 2023 14:00:02 -0500 Subject: [PATCH] Fix string helper functions not initialized (#1380) String helper functions CONCAT, UPPER, LOWER are not initialized due to a minor bug in the code. --- evadb/functions/function_bootstrap_queries.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/evadb/functions/function_bootstrap_queries.py b/evadb/functions/function_bootstrap_queries.py index f8186d4dd3..3b50085864 100644 --- a/evadb/functions/function_bootstrap_queries.py +++ b/evadb/functions/function_bootstrap_queries.py @@ -217,6 +217,7 @@ Upper_function_query = """CREATE FUNCTION IF NOT EXISTS UPPER INPUT (input ANYTYPE) OUTPUT (output NDARRAY STR(ANYDIM)) + TYPE HelperFunction IMPL '{}/functions/helpers/upper.py'; """.format( EvaDB_INSTALLATION_DIR @@ -225,6 +226,7 @@ Lower_function_query = """CREATE FUNCTION IF NOT EXISTS LOWER INPUT (input ANYTYPE) OUTPUT (output NDARRAY STR(ANYDIM)) + TYPE HelperFunction IMPL '{}/functions/helpers/lower.py'; """.format( EvaDB_INSTALLATION_DIR @@ -233,6 +235,7 @@ Concat_function_query = """CREATE FUNCTION IF NOT EXISTS CONCAT INPUT (input ANYTYPE) OUTPUT (output NDARRAY STR(ANYDIM)) + TYPE HelperFunction IMPL '{}/functions/helpers/concat.py'; """.format( EvaDB_INSTALLATION_DIR