Skip to content

Commit

Permalink
Fix string helper functions not initialized (georgia-tech-db#1380)
Browse files Browse the repository at this point in the history
String helper functions CONCAT, UPPER, LOWER are not initialized due to
a minor bug in the code.
  • Loading branch information
pchunduri6 authored Nov 21, 2023
1 parent 0268df2 commit e00887c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions evadb/functions/function_bootstrap_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e00887c

Please sign in to comment.