Skip to content

Commit

Permalink
fix: Update code
Browse files Browse the repository at this point in the history
  • Loading branch information
larshelge committed Dec 2, 2024
1 parent 25f4feb commit df215ec
Showing 1 changed file with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -673,17 +673,14 @@ private String getSelectForInsert(
? "(select ${selectExpression} ${dataClause})${closingParentheses} as ${uid}"
: "${selectExpression}${closingParentheses} as ${uid}";

String s = getClosingParentheses(selectExpression);
return replaceQualify(
sqlTemplate,
Map.of(
"selectExpression",
selectExpression,
"dataClause",
dataFilterClause,
"closingParentheses",
getClosingParentheses(selectExpression),
"uid",
quote(dataElement.getUid())));
"selectExpression", selectExpression,
"dataClause", dataFilterClause,
"closingParentheses", s,
"uid", quote(dataElement.getUid())));
}

/**
Expand Down

0 comments on commit df215ec

Please sign in to comment.