diff --git a/testdata/Goldens/ParamsDollarSign/input.pql b/testdata/Goldens/ParamsDollarSign/input.pql new file mode 100644 index 0000000..60822cf --- /dev/null +++ b/testdata/Goldens/ParamsDollarSign/input.pql @@ -0,0 +1,2 @@ +Tokens +| where Kind == $desiredKind diff --git a/testdata/Goldens/ParamsDollarSign/options.jwcc b/testdata/Goldens/ParamsDollarSign/options.jwcc new file mode 100644 index 0000000..a9b6f29 --- /dev/null +++ b/testdata/Goldens/ParamsDollarSign/options.jwcc @@ -0,0 +1,8 @@ +{ + "parameters": { + "$desiredKind": { + "clickhouse": "{$desiredKind: Int32}", + "value": "1", + }, + }, +} diff --git a/testdata/Goldens/ParamsDollarSign/output.csv b/testdata/Goldens/ParamsDollarSign/output.csv new file mode 100644 index 0000000..565e14f --- /dev/null +++ b/testdata/Goldens/ParamsDollarSign/output.csv @@ -0,0 +1,2 @@ +Kind,TokenConstant +1,TokenIdentifier diff --git a/testdata/Goldens/ParamsDollarSign/output.sql b/testdata/Goldens/ParamsDollarSign/output.sql new file mode 100644 index 0000000..6d1b705 --- /dev/null +++ b/testdata/Goldens/ParamsDollarSign/output.sql @@ -0,0 +1 @@ +SELECT * FROM "Tokens" WHERE coalesce("Kind" = {$desiredKind: Int32}, FALSE);