Skip to content

Commit

Permalink
fixing if/else
Browse files Browse the repository at this point in the history
  • Loading branch information
rjvgupta committed Jul 17, 2024
1 parent 768d389 commit f5c04c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/deployFunction.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ if test -f "../$type/$function/lambda.yaml"; then
stackname=${stackname//)/}
stackname=${stackname//_/-}
stackname=${stackname//,/-}
if test -z "$paramsVPC" -o test -z "$paramsBuckets";
if [test -z "$paramsVPC" -o test -z "$paramsBuckets"]; thne
paramOverrides="--parameter-overrides $paramsVPC $paramsBuckets"
else
paramOverrides=""
Expand Down
2 changes: 1 addition & 1 deletion lambda-udfs/f_titan_embedding(varchar)/function.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Purpose:
This sample function demonstrates how use lambda to call the titan embedding model to convert your text to an embedding.
2024-07-11: written by rjvgupta
2024-07-11: written by rjvgupta
*/
CREATE OR REPLACE EXTERNAL FUNCTION f_titan_embedding (varchar) RETURNS varchar(max) STABLE
LAMBDA 'f-titan-embedding-varchar' IAM_ROLE ':RedshiftRole';

0 comments on commit f5c04c1

Please sign in to comment.