You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b84f179
Browse filesBrowse the repository at this point in the historyBrowse files
feat(playground): explain each refused known difference once
A refused known difference is now worded from its plain-English entry,
as `sqlquack convert` words it: SQ0008 gives its title, what differs,
when relying on it is fine and when it is wrong, and the one fix that
works under the page's policy and mode. The banner gives the same title.
The example caption that repeated the HASH explanation beside the editor
is gone, and conversion notes say "known difference".
Copy file name to clipboardExpand all lines: website/public/playground/examples.js
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -144,9 +144,3 @@ export const STOP_LABELS = {
144
144
run: 'stops at Run',
145
145
};
146
146
exportconststopLabel=(stops)=>(stops ? STOP_LABELS[stops] : 'all four pass');
147
-
148
-
// Shown under the editor while an example is loaded and unedited.
149
-
exportconstCAPTIONS={
150
-
refused:
151
-
'Valid Snowflake SQL that SQLQuack will not translate. DuckDB computes HASH differently, so translated SQL would run and return other values. SQLQuack refuses and says why rather than guess; a policy file can allow a known divergence explicitly.',
<textareaclass="pg-small" id="pg-policy" spellcheck="false" aria-label="Policy file (TOML)" placeholder="Empty: the built-in default, which refuses every known divergence but the clock and checks that only raise"></textarea>
90
+
<textareaclass="pg-small" id="pg-policy" spellcheck="false" aria-label="Policy file (TOML)" placeholder="Empty: the built-in default, which refuses every known difference but the clock and checks that only raise"></textarea>
92
91
<pclass="pg-note">A policy file, as for <code>--policy</code>. <buttonclass="pg-link" type="button" id="pg-load-policy">Load the repository's sqlquack.toml</button></p>
0 commit comments