From 73474b320aa14dcb4a7030d4ccc7b5cdc59033cc Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 20 Feb 2026 09:59:16 +0000 Subject: [PATCH] fix: remove duplicate query hints in stackql-deploy template The extracted SQL code blocks already contain /*+ create */ and /*+ delete */ hints. Remove the extra /*+ createorupdate */ and /*+ delete */ prefixes that buildTemplate was prepending, which caused duplicate hints in the generated template output. https://claude.ai/code/session_01MQj3XYTZ9owsNxqqYCknZH --- .../StackqlDeployDropdown/StackqlDeployDropdown.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/src/components/StackqlDeployDropdown/StackqlDeployDropdown.js b/website/src/components/StackqlDeployDropdown/StackqlDeployDropdown.js index 7bd4d8751..0b323716c 100644 --- a/website/src/components/StackqlDeployDropdown/StackqlDeployDropdown.js +++ b/website/src/components/StackqlDeployDropdown/StackqlDeployDropdown.js @@ -212,11 +212,11 @@ function buildTemplate(sections) { } if (sections.insert) { - parts.push(`/*+ createorupdate */\n${sections.insert}`); + parts.push(sections.insert); } else if (sections.update) { - parts.push(`/*+ createorupdate */\n${sections.update}`); + parts.push(sections.update); } else if (sections.replace) { - parts.push(`/*+ createorupdate */\n${sections.replace}`); + parts.push(sections.replace); } if (parsed) { @@ -242,7 +242,7 @@ function buildTemplate(sections) { } if (sections.delete) { - parts.push(`/*+ delete */\n${sections.delete}`); + parts.push(sections.delete); } return parts.join('\n\n');