From dace7b13eb600a9fb9f063a19568a861b0592f63 Mon Sep 17 00:00:00 2001 From: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> Date: Sat, 17 Aug 2024 13:02:09 -0700 Subject: [PATCH] refine: Run a pass of `--force-update-snapshots` (#4834) --- .../src/snapshots/prqlc_parser__test__pipeline_parse_tree.snap | 2 +- .../prqlc__semantic__resolver__test__frames_and_names-2.snap | 1 - .../prqlc__semantic__resolver__test__frames_and_names-3.snap | 1 - .../prqlc__semantic__resolver__test__frames_and_names.snap | 1 - .../snapshots/integration__queries__compile__aggregation.snap | 1 - .../snapshots/integration__queries__compile__arithmetic.snap | 1 - .../snapshots/integration__queries__compile__cast.snap | 1 - .../integration__queries__compile__constants_only.snap | 1 - .../snapshots/integration__queries__compile__distinct.snap | 1 - .../snapshots/integration__queries__compile__distinct_on.snap | 1 - .../snapshots/integration__queries__compile__genre_counts.snap | 1 - .../snapshots/integration__queries__compile__group_all.snap | 1 - .../snapshots/integration__queries__compile__group_sort.snap | 1 - .../integration__queries__compile__group_sort_limit_take.snap | 1 - .../integration__queries__compile__invoice_totals.snap | 1 - .../snapshots/integration__queries__compile__loop_01.snap | 1 - .../snapshots/integration__queries__compile__math_module.snap | 2 +- .../snapshots/integration__queries__compile__pipelines.snap | 1 - .../snapshots/integration__queries__compile__read_csv.snap | 1 - .../integration__queries__compile__set_ops_remove.snap | 1 - .../snapshots/integration__queries__compile__sort.snap | 1 - .../snapshots/integration__queries__compile__switch.snap | 1 - .../snapshots/integration__queries__compile__take.snap | 1 - .../snapshots/integration__queries__compile__text_module.snap | 3 +-- .../snapshots/integration__queries__compile__window.snap | 3 +-- .../snapshots/integration__queries__fmt__aggregation.snap | 1 - .../snapshots/integration__queries__fmt__arithmetic.snap | 1 - .../integration/snapshots/integration__queries__fmt__cast.snap | 1 - .../snapshots/integration__queries__fmt__constants_only.snap | 1 - .../snapshots/integration__queries__fmt__date_to_text.snap | 1 - .../snapshots/integration__queries__fmt__distinct.snap | 1 - .../snapshots/integration__queries__fmt__distinct_on.snap | 1 - .../snapshots/integration__queries__fmt__genre_counts.snap | 1 - .../snapshots/integration__queries__fmt__group_all.snap | 1 - .../snapshots/integration__queries__fmt__group_sort.snap | 1 - .../integration__queries__fmt__group_sort_limit_take.snap | 1 - .../snapshots/integration__queries__fmt__invoice_totals.snap | 1 - .../snapshots/integration__queries__fmt__loop_01.snap | 1 - .../snapshots/integration__queries__fmt__math_module.snap | 2 +- .../snapshots/integration__queries__fmt__read_csv.snap | 1 - .../snapshots/integration__queries__fmt__set_ops_remove.snap | 1 - .../integration/snapshots/integration__queries__fmt__sort.snap | 1 - .../snapshots/integration__queries__fmt__switch.snap | 1 - .../integration/snapshots/integration__queries__fmt__take.snap | 1 - .../snapshots/integration__queries__fmt__text_module.snap | 2 +- .../snapshots/integration__queries__fmt__window.snap | 3 +-- .../documentation__book__README__prql-language-book__0.snap | 2 +- .../documentation__book__project__target__examples__0.snap | 1 - .../documentation__book__project__target__examples__1.snap | 1 - .../documentation__book__project__target__version__0.snap | 3 +-- .../documentation__book__reference__data__from__0.snap | 3 +-- .../documentation__book__reference__data__from__1.snap | 3 +-- .../documentation__book__reference__data__from__2.snap | 3 +-- ...n__book__reference__data__read-files__reading-files__0.snap | 1 - ...n__book__reference__data__read-files__reading-files__1.snap | 3 +-- ..._reference__data__relation-literals__array-literals__0.snap | 1 - ..._reference__data__relation-literals__array-literals__1.snap | 3 +-- ..._reference__data__relation-literals__array-literals__2.snap | 1 - ..._reference__data__relation-literals__array-literals__3.snap | 1 - ..._reference__data__relation-literals__array-literals__4.snap | 1 - ...mentation__book__reference__declarations__functions__0.snap | 1 - ...mentation__book__reference__declarations__functions__1.snap | 1 - ...k__reference__declarations__functions__late-binding__0.snap | 1 - ..._reference__declarations__functions__other-examples__0.snap | 1 - ...clarations__functions__piping-values-into-functions__0.snap | 1 - ...clarations__functions__piping-values-into-functions__1.snap | 1 - ...clarations__functions__piping-values-into-functions__2.snap | 1 - ...ok__reference__declarations__variables__variables--__0.snap | 3 +-- ...ok__reference__declarations__variables__variables--__1.snap | 3 +-- ...ok__reference__declarations__variables__variables--__2.snap | 3 +-- ...eference__spec__name-resolution__translating-to-sql__0.snap | 1 - ...eference__spec__name-resolution__translating-to-sql__1.snap | 1 - ...ntation__book__reference__spec__null__null-handling__0.snap | 1 - ...__book__reference__stdlib__README__standard-library__0.snap | 1 - ...__book__reference__stdlib__README__standard-library__1.snap | 1 - ...__book__reference__stdlib__README__standard-library__2.snap | 1 - ...tion__book__reference__stdlib__date__date-functions__0.snap | 3 +-- ...tion__book__reference__stdlib__date__date-functions__1.snap | 3 +-- ...tion__book__reference__stdlib__date__date-functions__2.snap | 3 +-- ...rence__stdlib__distinct__how-do-i-remove-duplicates__0.snap | 3 +-- ...rence__stdlib__distinct__how-do-i-remove-duplicates__1.snap | 3 +-- ...cumentation__book__reference__stdlib__math__example__0.snap | 3 +-- ...cumentation__book__reference__stdlib__text__example__0.snap | 3 +-- ...tdlib__transforms__aggregate__aggregate-is-required__0.snap | 1 - ..._reference__stdlib__transforms__aggregate__examples__0.snap | 1 - ..._reference__stdlib__transforms__aggregate__examples__1.snap | 1 - ...tation__book__reference__stdlib__transforms__append__0.snap | 1 - ...reference__stdlib__transforms__append__intersection__0.snap | 1 - ...book__reference__stdlib__transforms__append__remove__0.snap | 1 - ...ok__reference__stdlib__transforms__derive__examples__0.snap | 1 - ...ok__reference__stdlib__transforms__derive__examples__1.snap | 1 - ...ok__reference__stdlib__transforms__filter__examples__0.snap | 1 - ...ok__reference__stdlib__transforms__filter__examples__1.snap | 1 - ...ok__reference__stdlib__transforms__filter__examples__2.snap | 1 - ...ok__reference__stdlib__transforms__filter__examples__3.snap | 1 - ...ntation__book__reference__stdlib__transforms__group__0.snap | 1 - ...ntation__book__reference__stdlib__transforms__group__1.snap | 1 - ...ntation__book__reference__stdlib__transforms__group__2.snap | 1 - ...book__reference__stdlib__transforms__join__examples__0.snap | 1 - ...book__reference__stdlib__transforms__join__examples__1.snap | 1 - ...book__reference__stdlib__transforms__join__examples__2.snap | 1 - ...book__reference__stdlib__transforms__join__examples__3.snap | 1 - ...book__reference__stdlib__transforms__loop__examples__0.snap | 1 - ...ok__reference__stdlib__transforms__select__examples__0.snap | 1 - ...ok__reference__stdlib__transforms__select__examples__1.snap | 1 - ...ok__reference__stdlib__transforms__select__examples__2.snap | 1 - ...ok__reference__stdlib__transforms__select__examples__3.snap | 1 - ...ence__stdlib__transforms__select__excluding-columns__0.snap | 1 - ...ence__stdlib__transforms__select__excluding-columns__1.snap | 1 - ...ence__stdlib__transforms__select__excluding-columns__2.snap | 1 - ...ence__stdlib__transforms__select__excluding-columns__3.snap | 1 - ...book__reference__stdlib__transforms__sort__examples__0.snap | 1 - ...book__reference__stdlib__transforms__sort__examples__1.snap | 1 - ...book__reference__stdlib__transforms__sort__examples__2.snap | 1 - ...book__reference__stdlib__transforms__sort__examples__3.snap | 1 - ...ence__stdlib__transforms__sort__ordering-guarantees__0.snap | 1 - ...book__reference__stdlib__transforms__take__examples__0.snap | 1 - ...book__reference__stdlib__transforms__take__examples__1.snap | 1 - ...ook__reference__stdlib__transforms__window__example__0.snap | 1 - ...ook__reference__stdlib__transforms__window__example__1.snap | 1 - ...ook__reference__stdlib__transforms__window__example__2.snap | 1 - ...s__window__window-functions-as-first-class-citizens__0.snap | 1 - ...e__stdlib__transforms__window__windowing-by-default__0.snap | 1 - ...e__stdlib__transforms__window__windowing-by-default__1.snap | 1 - .../documentation__book__reference__syntax__case__0.snap | 1 - .../documentation__book__reference__syntax__case__1.snap | 1 - .../documentation__book__reference__syntax__comments__0.snap | 1 - .../documentation__book__reference__syntax__f-strings__0.snap | 1 - .../documentation__book__reference__syntax__f-strings__1.snap | 1 - .../documentation__book__reference__syntax__keywords__0.snap | 1 - ..._reference__syntax__keywords__identifiers--keywords__0.snap | 1 - ..._reference__syntax__keywords__identifiers--keywords__1.snap | 1 - ..._reference__syntax__keywords__identifiers--keywords__2.snap | 1 - ..._reference__syntax__keywords__identifiers--keywords__3.snap | 1 - ...ntation__book__reference__syntax__keywords__quoting__0.snap | 1 - ...ntation__book__reference__syntax__keywords__quoting__1.snap | 1 - ...ntation__book__reference__syntax__keywords__quoting__2.snap | 1 - ...eference__syntax__keywords__schemas--database-names__0.snap | 1 - ...mentation__book__reference__syntax__literals__dates__0.snap | 1 - ...ntation__book__reference__syntax__literals__numbers__0.snap | 1 - ...mentation__book__reference__syntax__literals__times__0.snap | 1 - ...tion__book__reference__syntax__literals__timestamps__0.snap | 1 - ...ation__book__reference__syntax__operators__coalesce__0.snap | 1 - ...e__syntax__operators__division-and-integer-division__0.snap | 1 - ...on__book__reference__syntax__operators__parentheses__1.snap | 1 - ...on__book__reference__syntax__operators__parentheses__2.snap | 1 - ...ok__reference__syntax__operators__regex-expressions__0.snap | 1 - ...ok__reference__syntax__operators__regex-expressions__1.snap | 1 - ...ok__reference__syntax__operators__regex-expressions__2.snap | 1 - ...ok__reference__syntax__operators__regex-expressions__3.snap | 1 - ...ok__reference__syntax__operators__regex-expressions__4.snap | 1 - ...ok__reference__syntax__operators__regex-expressions__5.snap | 1 - ..._book__reference__syntax__operators__wrapping-lines__0.snap | 1 - ..._book__reference__syntax__operators__wrapping-lines__1.snap | 1 - .../documentation__book__reference__syntax__parameters__0.snap | 1 - .../documentation__book__reference__syntax__pipes__0.snap | 1 - .../documentation__book__reference__syntax__pipes__1.snap | 1 - ...n__book__reference__syntax__pipes__inner-transforms__0.snap | 1 - .../documentation__book__reference__syntax__r-strings__0.snap | 1 - .../documentation__book__reference__syntax__ranges__0.snap | 1 - .../documentation__book__reference__syntax__ranges__1.snap | 1 - .../documentation__book__reference__syntax__s-strings__0.snap | 1 - .../documentation__book__reference__syntax__s-strings__1.snap | 1 - .../documentation__book__reference__syntax__s-strings__2.snap | 1 - .../documentation__book__reference__syntax__s-strings__3.snap | 1 - ...ntation__book__reference__syntax__s-strings__braces__0.snap | 1 - ...nce__syntax__s-strings__precedence-within-s-strings__0.snap | 1 - ...nce__syntax__s-strings__precedence-within-s-strings__1.snap | 1 - .../documentation__book__reference__syntax__strings__0.snap | 1 - ...nce__syntax__strings__quoting-and-escape-characters__0.snap | 1 - ...nce__syntax__strings__quoting-and-escape-characters__1.snap | 1 - .../documentation__book__reference__syntax__tuples__0.snap | 1 - .../documentation__book__reference__syntax__tuples__1.snap | 1 - 173 files changed, 24 insertions(+), 192 deletions(-) diff --git a/prqlc/prqlc-parser/src/snapshots/prqlc_parser__test__pipeline_parse_tree.snap b/prqlc/prqlc-parser/src/snapshots/prqlc_parser__test__pipeline_parse_tree.snap index 38604e50876c..493b2790fe20 100644 --- a/prqlc/prqlc-parser/src/snapshots/prqlc_parser__test__pipeline_parse_tree.snap +++ b/prqlc/prqlc-parser/src/snapshots/prqlc_parser__test__pipeline_parse_tree.snap @@ -1,6 +1,6 @@ --- source: prqlc/prqlc-parser/src/test.rs -expression: "parse_single(r#\"\nfrom employees\nfilter country == \"USA\" # Each line transforms the previous result.\nderive { # This adds columns / variables.\n gross_salary = salary + payroll_tax,\n gross_cost = gross_salary + benefits_cost # Variables can use other variables.\n}\nfilter gross_cost > 0\ngroup {title, country} ( # For each group use a nested pipeline\n aggregate { # Aggregate each group to a single row\n average salary,\n average gross_salary,\n sum salary,\n sum gross_salary,\n average gross_cost,\n sum_gross_cost = sum gross_cost,\n ct = count salary,\n }\n)\nsort sum_gross_cost\nfilter ct > 200\ntake 20\n \"#).unwrap()" +expression: "parse_source(r#\"\nfrom employees\nfilter country == \"USA\" # Each line transforms the previous result.\nderive { # This adds columns / variables.\n gross_salary = salary + payroll_tax,\n gross_cost = gross_salary + benefits_cost # Variables can use other variables.\n}\nfilter gross_cost > 0\ngroup {title, country} ( # For each group use a nested pipeline\n aggregate { # Aggregate each group to a single row\n average salary,\n average gross_salary,\n sum salary,\n sum gross_salary,\n average gross_cost,\n sum_gross_cost = sum gross_cost,\n ct = count salary,\n }\n)\nsort sum_gross_cost\nfilter ct > 200\ntake 20\n \"#).unwrap()" --- - VarDef: kind: Main diff --git a/prqlc/prqlc/src/semantic/resolver/snapshots/prqlc__semantic__resolver__test__frames_and_names-2.snap b/prqlc/prqlc/src/semantic/resolver/snapshots/prqlc__semantic__resolver__test__frames_and_names-2.snap index 8873df147d3b..d12c3c8104d0 100644 --- a/prqlc/prqlc/src/semantic/resolver/snapshots/prqlc__semantic__resolver__test__frames_and_names-2.snap +++ b/prqlc/prqlc/src/semantic/resolver/snapshots/prqlc__semantic__resolver__test__frames_and_names-2.snap @@ -20,4 +20,3 @@ inputs: table: - default_db - customers - diff --git a/prqlc/prqlc/src/semantic/resolver/snapshots/prqlc__semantic__resolver__test__frames_and_names-3.snap b/prqlc/prqlc/src/semantic/resolver/snapshots/prqlc__semantic__resolver__test__frames_and_names-3.snap index aacec8fd904f..804e9f996604 100644 --- a/prqlc/prqlc/src/semantic/resolver/snapshots/prqlc__semantic__resolver__test__frames_and_names-3.snap +++ b/prqlc/prqlc/src/semantic/resolver/snapshots/prqlc__semantic__resolver__test__frames_and_names-3.snap @@ -31,4 +31,3 @@ inputs: table: - default_db - salaries - diff --git a/prqlc/prqlc/src/semantic/resolver/snapshots/prqlc__semantic__resolver__test__frames_and_names.snap b/prqlc/prqlc/src/semantic/resolver/snapshots/prqlc__semantic__resolver__test__frames_and_names.snap index 675179623679..e1d5c30ad09f 100644 --- a/prqlc/prqlc/src/semantic/resolver/snapshots/prqlc__semantic__resolver__test__frames_and_names.snap +++ b/prqlc/prqlc/src/semantic/resolver/snapshots/prqlc__semantic__resolver__test__frames_and_names.snap @@ -31,4 +31,3 @@ inputs: table: - default_db - orders - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__aggregation.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__aggregation.snap index 1c339734115b..76e3c7c63e50 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__aggregation.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__aggregation.snap @@ -12,4 +12,3 @@ FROM tracks WHERE genre_id = 100 - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__arithmetic.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__arithmetic.snap index ffecd666e245..9c52629239f5 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__arithmetic.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__arithmetic.snap @@ -69,4 +69,3 @@ FROM table_0 ORDER BY id - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__cast.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__cast.snap index 708e019d3eb0..ec4c9d9f1f0f 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__cast.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__cast.snap @@ -22,4 +22,3 @@ FROM table_0 ORDER BY bytes DESC - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__constants_only.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__constants_only.snap index 7f5d1a2c5e04..fc19eb5f90bb 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__constants_only.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__constants_only.snap @@ -26,4 +26,3 @@ FROM table_0 WHERE true - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__distinct.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__distinct.snap index 9a683ddd1e2a..0dcd0b396eca 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__distinct.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__distinct.snap @@ -18,4 +18,3 @@ FROM ORDER BY album_id, genre_id - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__distinct_on.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__distinct_on.snap index ed7dad1d1f06..a903e23e7e20 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__distinct_on.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__distinct_on.snap @@ -28,4 +28,3 @@ WHERE ORDER BY genre_id DESC, media_type_id - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__genre_counts.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__genre_counts.snap index f62745a7aaea..f56c4fe46319 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__genre_counts.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__genre_counts.snap @@ -15,4 +15,3 @@ FROM genre_count WHERE a > 0 - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__group_all.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__group_all.snap index bb67d987675f..e46147c2d82c 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__group_all.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__group_all.snap @@ -24,4 +24,3 @@ GROUP BY table_0.title ORDER BY table_0.album_id - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__group_sort.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__group_sort.snap index 46a6883272b4..70a9b3342df6 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__group_sort.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__group_sort.snap @@ -31,4 +31,3 @@ FROM table_1 ORDER BY _expr_0 - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__group_sort_limit_take.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__group_sort_limit_take.snap index 84fa7c8bbd44..e7d8bcca3438 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__group_sort_limit_take.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__group_sort_limit_take.snap @@ -33,4 +33,3 @@ FROM ORDER BY genres.name, table_0.milliseconds DESC - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__invoice_totals.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__invoice_totals.snap index 70b8af0cd077..896d667bb95a 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__invoice_totals.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__invoice_totals.snap @@ -38,4 +38,3 @@ ORDER BY street LIMIT 20 - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__loop_01.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__loop_01.snap index f54f0c8afaa4..26478ef69f02 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__loop_01.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__loop_01.snap @@ -27,4 +27,3 @@ FROM table_1 AS table_2 ORDER BY n - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__math_module.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__math_module.snap index c91c3dce0acb..6c9a75a96f0f 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__math_module.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__math_module.snap @@ -1,6 +1,6 @@ --- source: prqlc/prqlc/tests/integration/queries.rs -expression: "# mssql:test\n# sqlite:skip (see https://github.com/rusqlite/rusqlite/issues/1211)\nfrom invoices\ntake 5\nselect {\n total_original = total | math.round 2,\n total_x = math.pi - total | math.round 2 | math.abs,\n total_floor = math.floor total,\n total_ceil = math.ceil total,\n total_log10 = math.log10 total | math.round 3,\n total_log2 = math.log 2 total | math.round 3,\n total_sqrt = math.sqrt total | math.round 3,\n total_ln = math.ln total | math.exp | math.round 2,\n total_cos = math.cos total | math.acos | math.round 2,\n total_sin = math.sin total | math.asin | math.round 2,\n total_tan = math.tan total | math.atan | math.round 2,\n total_deg = total | math.degrees | math.radians | math.round 2,\n total_square = total | math.pow 2 | math.round 2,\n total_square_op = (total ** 2) | math.round 2,\n}\n" +expression: "# mssql:test\n# sqlite:skip (see https://github.com/rusqlite/rusqlite/issues/1211)\nfrom invoices\ntake 5\nselect {\n total_original = (total | math.round 2),\n total_x = (math.pi - total | math.round 2 | math.abs),\n total_floor = (math.floor total),\n total_ceil = (math.ceil total),\n total_log10 = (math.log10 total | math.round 3),\n total_log2 = (math.log 2 total | math.round 3),\n total_sqrt = (math.sqrt total | math.round 3),\n total_ln = (math.ln total | math.exp | math.round 2),\n total_cos = (math.cos total | math.acos | math.round 2),\n total_sin = (math.sin total | math.asin | math.round 2),\n total_tan = (math.tan total | math.atan | math.round 2),\n total_deg = (total | math.degrees | math.radians | math.round 2),\n total_square = (total | math.pow 2 | math.round 2),\n total_square_op = ((total ** 2) | math.round 2),\n}\n" input_file: prqlc/prqlc/tests/integration/queries/math_module.prql --- SELECT diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__pipelines.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__pipelines.snap index 68b5d1784cd9..8984146520e1 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__pipelines.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__pipelines.snap @@ -25,4 +25,3 @@ FROM table_0 ORDER BY track_id - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__read_csv.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__read_csv.snap index fba2a29f0c35..014ce2394115 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__read_csv.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__read_csv.snap @@ -15,4 +15,3 @@ FROM table_0 ORDER BY media_type_id - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__set_ops_remove.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__set_ops_remove.snap index f39466082d12..3fe970ed7279 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__set_ops_remove.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__set_ops_remove.snap @@ -45,4 +45,3 @@ FROM table_2 ORDER BY a - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__sort.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__sort.snap index f67706ca3964..6c71096ea726 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__sort.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__sort.snap @@ -23,4 +23,3 @@ FROM ORDER BY table_0.first_name, table_0.last_name - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__switch.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__switch.snap index fe3dae508b8d..ced86cbd908f 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__switch.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__switch.snap @@ -24,4 +24,3 @@ FROM table_0 ORDER BY milliseconds - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__take.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__take.snap index 1401d7815698..99cf5a567604 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__take.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__take.snap @@ -11,4 +11,3 @@ ORDER BY track_id LIMIT 3 OFFSET 2 - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__text_module.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__text_module.snap index 7d4357325fab..60b08f03e3c2 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__text_module.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__text_module.snap @@ -1,6 +1,6 @@ --- source: prqlc/prqlc/tests/integration/queries.rs -expression: "# mssql:test\nfrom albums\nselect {\n title,\n title_and_spaces = f\" {title} \",\n low = title | text.lower,\n up = title | text.upper,\n ltrimmed = title | text.ltrim,\n rtrimmed = title | text.rtrim,\n trimmed = title | text.trim,\n len = title | text.length,\n subs = title | text.extract 2 5,\n replace = title | text.replace \"al\" \"PIKA\",\n}\nsort {title}\nfilter (title | text.starts_with \"Black\") || (title | text.contains \"Sabbath\") || (title | text.ends_with \"os\")\n" +expression: "# mssql:test\n# glaredb:skip — TODO: started raising an error on 2024-05-20; see `window.prql`\n# for more details\nfrom albums\nselect {\n title,\n title_and_spaces = f\" {title} \",\n low = (title | text.lower),\n up = (title | text.upper),\n ltrimmed = (title | text.ltrim),\n rtrimmed = (title | text.rtrim),\n trimmed = (title | text.trim),\n len = (title | text.length),\n subs = (title | text.extract 2 5),\n replace = (title | text.replace \"al\" \"PIKA\"),\n}\nsort {title}\nfilter (title | text.starts_with \"Black\") || (title | text.contains \"Sabbath\") || (title | text.ends_with \"os\")\n" input_file: prqlc/prqlc/tests/integration/queries/text_module.prql --- WITH table_0 AS ( @@ -37,4 +37,3 @@ WHERE OR title LIKE CONCAT('%', 'os') ORDER BY title - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__window.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__window.snap index 3e6b202bded8..7ba8bae4a2b9 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__window.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__compile__window.snap @@ -1,6 +1,6 @@ --- source: prqlc/prqlc/tests/integration/queries.rs -expression: "# mssql:skip Conversion(\"cannot interpret I64(Some(1)) as an i32 value\")', connection.rs:200:34\n# duckdb:skip problems with DISTINCT ON (duckdb internal error: [with INPUT_TYPE = int; RESULT_TYPE = unsigned char]: Assertion `min_val <= input' failed.)\n# clickhouse:skip problems with DISTINCT ON\n# postgres:skip problems with DISTINCT ON\nfrom tracks\ngroup genre_id (\n sort milliseconds\n derive {\n num = row_number this,\n total = count this,\n last_val = last track_id,\n }\n take 10\n)\nsort {genre_id, milliseconds}\nselect {track_id, genre_id, num, total, last_val}\nfilter genre_id >= 22\n" +expression: "# mssql:skip Conversion(\"cannot interpret I64(Some(1)) as an i32 value\")', connection.rs:200:34\n# duckdb:skip problems with DISTINCT ON (duckdb internal error: [with INPUT_TYPE = int; RESULT_TYPE = unsigned char]: Assertion `min_val <= input' failed.)\n# clickhouse:skip problems with DISTINCT ON\n# postgres:skip problems with DISTINCT ON\n# glaredb:skip — TODO: started raising an error on 2024-05-20, from https://github.com/PRQL/prql/actions/runs/9154902656/job/25198160283:\n # ERROR: This feature is not implemented: Unsupported ast node in sqltorel:\n # Substring { expr: Identifier(Ident { value: \"title\", quote_style: None }),\n # substring_from: Some(Value(Number(\"2\", false))), substring_for:\n # Some(Value(Number(\"5\", false))), special: true }\nfrom tracks\ngroup genre_id (\n sort milliseconds\n derive {\n num = row_number this,\n total = count this,\n last_val = last track_id,\n }\n take 10\n)\nsort {genre_id, milliseconds}\nselect {track_id, genre_id, num, total, last_val}\nfilter genre_id >= 22\n" input_file: prqlc/prqlc/tests/integration/queries/window.prql --- WITH table_0 AS ( @@ -56,4 +56,3 @@ FROM ORDER BY genre_id, milliseconds - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__aggregation.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__aggregation.snap index d50e2057a843..884a830d3791 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__aggregation.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__aggregation.snap @@ -12,4 +12,3 @@ aggregate { all empty_name, any empty_name, } - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__arithmetic.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__arithmetic.snap index 6be21fc08eff..4b10df73e366 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__arithmetic.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__arithmetic.snap @@ -53,4 +53,3 @@ select { (q_ff * k_float + r_ff | math.round 0), } sort id - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__cast.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__cast.snap index 1f5eed50818b..6acb82527f54 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__cast.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__cast.snap @@ -7,4 +7,3 @@ from tracks sort {-bytes} select {name, bin = (album_id | as REAL) * 99} take 20 - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__constants_only.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__constants_only.snap index 79dccd1dc029..4ae85a1ef654 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__constants_only.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__constants_only.snap @@ -9,4 +9,3 @@ filter true take 20 filter true select d = 10 - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__date_to_text.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__date_to_text.snap index e558891fddce..bf6cc43f44fe 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__date_to_text.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__date_to_text.snap @@ -19,4 +19,3 @@ select { d11 = (invoice_date | date.to_text ""%M'%S"""), d12 = (invoice_date | date.to_text "100%% in %d days"), } - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__distinct.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__distinct.snap index 7999ae327cbb..825bc298f6ed 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__distinct.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__distinct.snap @@ -7,4 +7,3 @@ from tracks select {album_id, genre_id} group tracks.* (take 1) sort tracks.* - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__distinct_on.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__distinct_on.snap index 470cff0620da..6b272e717016 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__distinct_on.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__distinct_on.snap @@ -10,4 +10,3 @@ group {genre_id, media_type_id} ( take 1 ) sort {-genre_id, media_type_id} - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__genre_counts.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__genre_counts.snap index fb73ace8a03a..dbac25bad91d 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__genre_counts.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__genre_counts.snap @@ -11,4 +11,3 @@ let genre_count = ( from genre_count filter a > 0 select a = -a - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__group_all.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__group_all.snap index 933d8efda9a2..d8ac56801879 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__group_all.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__group_all.snap @@ -11,4 +11,3 @@ group {a.album_id, a.title} (aggregate price = ( math.round 2 )) sort album_id - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__group_sort.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__group_sort.snap index f1013da6e4a5..345e6f56a022 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__group_sort.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__group_sort.snap @@ -9,4 +9,3 @@ group d (aggregate {n1 = (track_id | sum)}) sort d take 10 select {d1 = d, n1} - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__group_sort_limit_take.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__group_sort_limit_take.snap index a1b6d593281e..32f814a748a1 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__group_sort_limit_take.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__group_sort_limit_take.snap @@ -9,4 +9,3 @@ group {genre_id} (sort {-milliseconds} | take 3) join genres (==genre_id) select {name, milliseconds} sort {+name, -milliseconds} - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__invoice_totals.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__invoice_totals.snap index 7793d0d10f29..94c9827d7ba2 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__invoice_totals.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__invoice_totals.snap @@ -34,4 +34,3 @@ select { num_tracks_last_week, } take 20 - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__loop_01.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__loop_01.snap index 8e9776e19d6d..c5031498e709 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__loop_01.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__loop_01.snap @@ -8,4 +8,3 @@ select n = n - 2 loop (filter n < 4 | select n = n + 1) select n = n * 2 sort n - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__math_module.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__math_module.snap index 96b8baeacacb..3e9a86fb9f3c 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__math_module.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__math_module.snap @@ -1,6 +1,6 @@ --- source: prqlc/prqlc/tests/integration/queries.rs -expression: "# mssql:test\n# sqlite:skip (see https://github.com/rusqlite/rusqlite/issues/1211)\nfrom invoices\ntake 5\nselect {\n total_original = total | math.round 2,\n total_x = math.pi - total | math.round 2 | math.abs,\n total_floor = math.floor total,\n total_ceil = math.ceil total,\n total_log10 = math.log10 total | math.round 3,\n total_log2 = math.log 2 total | math.round 3,\n total_sqrt = math.sqrt total | math.round 3,\n total_ln = math.ln total | math.exp | math.round 2,\n total_cos = math.cos total | math.acos | math.round 2,\n total_sin = math.sin total | math.asin | math.round 2,\n total_tan = math.tan total | math.atan | math.round 2,\n total_deg = total | math.degrees | math.radians | math.round 2,\n total_square = total | math.pow 2 | math.round 2,\n total_square_op = (total ** 2) | math.round 2,\n}\n" +expression: "# mssql:test\n# sqlite:skip (see https://github.com/rusqlite/rusqlite/issues/1211)\nfrom invoices\ntake 5\nselect {\n total_original = (total | math.round 2),\n total_x = (math.pi - total | math.round 2 | math.abs),\n total_floor = (math.floor total),\n total_ceil = (math.ceil total),\n total_log10 = (math.log10 total | math.round 3),\n total_log2 = (math.log 2 total | math.round 3),\n total_sqrt = (math.sqrt total | math.round 3),\n total_ln = (math.ln total | math.exp | math.round 2),\n total_cos = (math.cos total | math.acos | math.round 2),\n total_sin = (math.sin total | math.asin | math.round 2),\n total_tan = (math.tan total | math.atan | math.round 2),\n total_deg = (total | math.degrees | math.radians | math.round 2),\n total_square = (total | math.pow 2 | math.round 2),\n total_square_op = ((total ** 2) | math.round 2),\n}\n" input_file: prqlc/prqlc/tests/integration/queries/math_module.prql --- from invoices diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__read_csv.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__read_csv.snap index de85a44f9d05..3573846f539a 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__read_csv.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__read_csv.snap @@ -5,4 +5,3 @@ input_file: prqlc/prqlc/tests/integration/queries/read_csv.prql --- from (read_csv "data_file_root/media_types.csv") sort media_type_id - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__set_ops_remove.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__set_ops_remove.snap index 47efa07907e9..481775b95785 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__set_ops_remove.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__set_ops_remove.snap @@ -12,4 +12,3 @@ from_text format:json '{ "columns": ["a"], "data": [[1], [2], [2], [3]] }' distinct remove (from_text format:json '{ "columns": ["a"], "data": [[1], [2]] }') sort a - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__sort.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__sort.snap index 8bb61f7b6f0b..b131984491d1 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__sort.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__sort.snap @@ -8,4 +8,3 @@ filter first_name != "Mitchell" sort {first_name, last_name} join side:left manager = employees e.reports_to == manager.employee_id select {e.first_name, e.last_name, manager.first_name} - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__switch.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__switch.snap index 83daf4d25cc8..f5533c661e30 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__switch.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__switch.snap @@ -11,4 +11,3 @@ select display = case [ true => f"unknown composer", ] take 10 - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__take.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__take.snap index 5a20efe62d05..0b4e24cca39b 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__take.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__take.snap @@ -6,4 +6,3 @@ input_file: prqlc/prqlc/tests/integration/queries/take.prql from tracks sort {+track_id} take 3..5 - diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__text_module.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__text_module.snap index 9aed24f481bc..d434322f3ecb 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__text_module.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__text_module.snap @@ -1,6 +1,6 @@ --- source: prqlc/prqlc/tests/integration/queries.rs -expression: "# mssql:test\n# glaredb:skip — TODO: started raising an error on 2024-05-20; see `window.prql`\n# for more details\nfrom albums\nselect {\n title,\n title_and_spaces = f\" {title} \",\n low = title | text.lower,\n up = title | text.upper,\n ltrimmed = title | text.ltrim,\n rtrimmed = title | text.rtrim,\n trimmed = title | text.trim,\n len = title | text.length,\n subs = title | text.extract 2 5,\n replace = title | text.replace \"al\" \"PIKA\",\n}\nsort {title}\nfilter (title | text.starts_with \"Black\") || (title | text.contains \"Sabbath\") || (title | text.ends_with \"os\")\n" +expression: "# mssql:test\n# glaredb:skip — TODO: started raising an error on 2024-05-20; see `window.prql`\n# for more details\nfrom albums\nselect {\n title,\n title_and_spaces = f\" {title} \",\n low = (title | text.lower),\n up = (title | text.upper),\n ltrimmed = (title | text.ltrim),\n rtrimmed = (title | text.rtrim),\n trimmed = (title | text.trim),\n len = (title | text.length),\n subs = (title | text.extract 2 5),\n replace = (title | text.replace \"al\" \"PIKA\"),\n}\nsort {title}\nfilter (title | text.starts_with \"Black\") || (title | text.contains \"Sabbath\") || (title | text.ends_with \"os\")\n" input_file: prqlc/prqlc/tests/integration/queries/text_module.prql --- from albums diff --git a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__window.snap b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__window.snap index b062e5c5bbda..6b6f6d799841 100644 --- a/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__window.snap +++ b/prqlc/prqlc/tests/integration/snapshots/integration__queries__fmt__window.snap @@ -1,6 +1,6 @@ --- source: prqlc/prqlc/tests/integration/queries.rs -expression: "# mssql:skip Conversion(\"cannot interpret I64(Some(1)) as an i32 value\")', connection.rs:200:34\n# duckdb:skip problems with DISTINCT ON (duckdb internal error: [with INPUT_TYPE = int; RESULT_TYPE = unsigned char]: Assertion `min_val <= input' failed.)\n# clickhouse:skip problems with DISTINCT ON\n# postgres:skip problems with DISTINCT ON\nfrom tracks\ngroup genre_id (\n sort milliseconds\n derive {\n num = row_number this,\n total = count this,\n last_val = last track_id,\n }\n take 10\n)\nsort {genre_id, milliseconds}\nselect {track_id, genre_id, num, total, last_val}\nfilter genre_id >= 22\n" +expression: "# mssql:skip Conversion(\"cannot interpret I64(Some(1)) as an i32 value\")', connection.rs:200:34\n# duckdb:skip problems with DISTINCT ON (duckdb internal error: [with INPUT_TYPE = int; RESULT_TYPE = unsigned char]: Assertion `min_val <= input' failed.)\n# clickhouse:skip problems with DISTINCT ON\n# postgres:skip problems with DISTINCT ON\n# glaredb:skip — TODO: started raising an error on 2024-05-20, from https://github.com/PRQL/prql/actions/runs/9154902656/job/25198160283:\n # ERROR: This feature is not implemented: Unsupported ast node in sqltorel:\n # Substring { expr: Identifier(Ident { value: \"title\", quote_style: None }),\n # substring_from: Some(Value(Number(\"2\", false))), substring_for:\n # Some(Value(Number(\"5\", false))), special: true }\nfrom tracks\ngroup genre_id (\n sort milliseconds\n derive {\n num = row_number this,\n total = count this,\n last_val = last track_id,\n }\n take 10\n)\nsort {genre_id, milliseconds}\nselect {track_id, genre_id, num, total, last_val}\nfilter genre_id >= 22\n" input_file: prqlc/prqlc/tests/integration/queries/window.prql --- from tracks @@ -16,4 +16,3 @@ group genre_id ( sort {genre_id, milliseconds} select {track_id, genre_id, num, total, last_val} filter genre_id >= 22 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__README__prql-language-book__0.snap b/web/book/tests/documentation/snapshots/documentation__book__README__prql-language-book__0.snap index e12ec89ab9f1..4b6c36cb5df4 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__README__prql-language-book__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__README__prql-language-book__0.snap @@ -1,6 +1,6 @@ --- source: web/book/tests/documentation/book.rs -expression: "from tracks\nfilter artist == \"Bob Marley\" # Each line transforms the previous result\naggregate { # `aggregate` reduces each column to a value\n plays = sum plays,\n longest = max length,\n shortest = min length, # Trailing commas are allowed\n}\n" +expression: "from tracks\nfilter artist == \"Bob Marley\" # Each line transforms the previous result\naggregate { # `aggregate` reduces each column to a value\n plays = sum plays,\n longest = max length,\n shortest = min length, # Trailing commas are allowed\n}\n" --- SELECT COALESCE(SUM(plays), 0) AS plays, diff --git a/web/book/tests/documentation/snapshots/documentation__book__project__target__examples__0.snap b/web/book/tests/documentation/snapshots/documentation__book__project__target__examples__0.snap index e6fd18067525..6b333530d5bd 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__project__target__examples__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__project__target__examples__0.snap @@ -10,4 +10,3 @@ ORDER BY age LIMIT 10 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__project__target__examples__1.snap b/web/book/tests/documentation/snapshots/documentation__book__project__target__examples__1.snap index 5f831d2e3397..93c2684da629 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__project__target__examples__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__project__target__examples__1.snap @@ -10,4 +10,3 @@ ORDER BY age OFFSET 0 ROWS FETCH FIRST 10 ROWS ONLY - diff --git a/web/book/tests/documentation/snapshots/documentation__book__project__target__version__0.snap b/web/book/tests/documentation/snapshots/documentation__book__project__target__version__0.snap index 9307260dd342..a305d4c79cfd 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__project__target__version__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__project__target__version__0.snap @@ -1,9 +1,8 @@ --- source: web/book/tests/documentation/book.rs -expression: "prql version:\"0.11.4\"\n\nfrom employees\n" +expression: "prql version:\"0.13.0\"\n\nfrom employees\n" --- SELECT * FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__data__from__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__data__from__0.snap index 5853c678892a..78ddef6e65b2 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__data__from__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__data__from__0.snap @@ -1,9 +1,8 @@ --- source: web/book/tests/documentation/book.rs -expression: "from db.artists\n" +expression: "from artists\n" --- SELECT * FROM artists - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__data__from__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__data__from__1.snap index c11293b631a9..477b694cdbab 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__data__from__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__data__from__1.snap @@ -1,9 +1,8 @@ --- source: web/book/tests/documentation/book.rs -expression: "from e = db.employees\nselect e.first_name\n" +expression: "from e = employees\nselect e.first_name\n" --- SELECT first_name FROM employees AS e - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__data__from__2.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__data__from__2.snap index 3e2fc2732832..85f3de1b0c9a 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__data__from__2.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__data__from__2.snap @@ -1,9 +1,8 @@ --- source: web/book/tests/documentation/book.rs -expression: "from db.`artist tracks`\n" +expression: "from `artist tracks`\n" --- SELECT * FROM "artist tracks" - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__data__read-files__reading-files__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__data__read-files__reading-files__0.snap index bc67c56d514b..db6cd2ef5502 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__data__read-files__reading-files__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__data__read-files__reading-files__0.snap @@ -20,4 +20,3 @@ SELECT FROM table_0 JOIN table_1 ON table_0.track_id = table_1.track_id - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__data__read-files__reading-files__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__data__read-files__reading-files__1.snap index a1af2ce1901f..2a9009647462 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__data__read-files__reading-files__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__data__read-files__reading-files__1.snap @@ -1,9 +1,8 @@ --- source: web/book/tests/documentation/book.rs -expression: "from db.`artists.parquet`\n" +expression: "from `artists.parquet`\n" --- SELECT * FROM "artists.parquet" - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__0.snap index 705645f56c61..54885023b415 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__0.snap @@ -18,4 +18,3 @@ FROM table_0 WHERE b = true - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__1.snap index 49f26d23636a..91bcc06a73c6 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__1.snap @@ -1,6 +1,6 @@ --- source: web/book/tests/documentation/book.rs -expression: "let my_artists = [\n {artist=\"Miles Davis\"},\n {artist=\"Marvin Gaye\"},\n {artist=\"James Brown\"},\n]\n\nfrom db.artists\njoin my_artists (==artist)\njoin db.albums (==artist_id)\nselect {artists.artist_id, albums.title}\n" +expression: "let my_artists = [\n {artist=\"Miles Davis\"},\n {artist=\"Marvin Gaye\"},\n {artist=\"James Brown\"},\n]\n\nfrom artists\njoin my_artists (==artist)\njoin albums (==artist_id)\nselect {artists.artist_id, albums.title}\n" --- WITH table_0 AS ( SELECT @@ -27,4 +27,3 @@ FROM artists JOIN my_artists ON artists.artist = my_artists.artist JOIN albums ON artists.artist_id = albums.artist_id - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__2.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__2.snap index 3ee4543e2ee1..ba225c661359 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__2.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__2.snap @@ -22,4 +22,3 @@ SELECT 20 * 2 + 2 AS answer FROM table_0 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__3.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__3.snap index 2e46f2b30eef..1a115cc5f276 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__3.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__3.snap @@ -17,4 +17,3 @@ SELECT m FROM table_0 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__4.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__4.snap index e6bddd93d98b..e484b283f12b 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__4.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__data__relation-literals__array-literals__4.snap @@ -20,4 +20,3 @@ SELECT c FROM table_0 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__0.snap index 4827c2f3ee1a..6434639006a7 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__0.snap @@ -7,4 +7,3 @@ SELECT (temp_f - 32) / 1.8 AS temp_c FROM cities - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__1.snap index a166d3f7b0df..6ff336ba9db1 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__1.snap @@ -8,4 +8,3 @@ SELECT (sat_score - 0) / (1600 - 0) AS sat_proportion_2 FROM students - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__late-binding__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__late-binding__0.snap index 1361df6fefcc..681d3d977f56 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__late-binding__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__late-binding__0.snap @@ -12,4 +12,3 @@ SELECT overhead / cost_total AS overhead_share FROM costs - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__other-examples__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__other-examples__0.snap index 13494e07c9c8..d395b26360be 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__other-examples__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__other-examples__0.snap @@ -23,4 +23,3 @@ FROM WHERE LOWER(last_name) LIKE CONCAT('a', '%') AND hobby IN ('PRQL', 'Rust') - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__piping-values-into-functions__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__piping-values-into-functions__0.snap index 79cf0a61ee4f..06eebc26af39 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__piping-values-into-functions__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__piping-values-into-functions__0.snap @@ -8,4 +8,3 @@ SELECT (sat_score - 0) / (1600 - 0) AS sat_proportion_2 FROM students - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__piping-values-into-functions__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__piping-values-into-functions__1.snap index 3e6399378597..a4ccf5615713 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__piping-values-into-functions__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__piping-values-into-functions__1.snap @@ -7,4 +7,3 @@ SELECT (temp_f - 32) / 1.8 AS temp_c FROM cities - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__piping-values-into-functions__2.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__piping-values-into-functions__2.snap index dbd9383eacb1..abad8cc27008 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__piping-values-into-functions__2.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__functions__piping-values-into-functions__2.snap @@ -7,4 +7,3 @@ SELECT ((temp_c - 32) / 1.8 - 0) / (100 - 0) AS boiling_proportion FROM kettles - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__variables__variables--__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__variables__variables--__0.snap index 132aa97a9fcf..c93bd09a43a9 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__variables__variables--__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__variables__variables--__0.snap @@ -1,6 +1,6 @@ --- source: web/book/tests/documentation/book.rs -expression: "let top_50 = (\n from db.employees\n sort salary\n take 50\n aggregate {total_salary = sum salary}\n)\n\ntop_50 # Starts a new pipeline\n" +expression: "let top_50 = (\n from employees\n sort salary\n take 50\n aggregate {total_salary = sum salary}\n)\n\nfrom top_50 # Starts a new pipeline\n" --- WITH table_0 AS ( SELECT @@ -21,4 +21,3 @@ SELECT total_salary FROM top_50 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__variables__variables--__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__variables__variables--__1.snap index 9696f72ac2e4..9c63323c39b1 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__variables__variables--__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__variables__variables--__1.snap @@ -1,6 +1,6 @@ --- source: web/book/tests/documentation/book.rs -expression: "from db.employees\ntake 50\ninto first_50\n\nfirst_50\n" +expression: "from employees\ntake 50\ninto first_50\n\nfrom first_50\n" --- WITH first_50 AS ( SELECT @@ -14,4 +14,3 @@ SELECT * FROM first_50 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__variables__variables--__2.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__variables__variables--__2.snap index fdd8185943cd..0ea02f02ac52 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__variables__variables--__2.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__declarations__variables__variables--__2.snap @@ -1,6 +1,6 @@ --- source: web/book/tests/documentation/book.rs -expression: "let grouping = s\"\"\"\n SELECT SUM(a)\n FROM tbl\n GROUP BY\n GROUPING SETS\n ((b, c, d), (d), (b, d))\n\"\"\"\n\ngrouping\n" +expression: "let grouping = s\"\"\"\n SELECT SUM(a)\n FROM tbl\n GROUP BY\n GROUPING SETS\n ((b, c, d), (d), (b, d))\n\"\"\"\n\nfrom grouping\n" --- WITH table_0 AS ( SELECT @@ -14,4 +14,3 @@ SELECT * FROM table_0 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__spec__name-resolution__translating-to-sql__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__spec__name-resolution__translating-to-sql__0.snap index cf2e2a66b22d..7a0a2b0e1196 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__spec__name-resolution__translating-to-sql__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__spec__name-resolution__translating-to-sql__0.snap @@ -6,4 +6,3 @@ SELECT first_name FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__spec__name-resolution__translating-to-sql__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__spec__name-resolution__translating-to-sql__1.snap index 18835346beac..f40787612163 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__spec__name-resolution__translating-to-sql__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__spec__name-resolution__translating-to-sql__1.snap @@ -8,4 +8,3 @@ SELECT FROM employees JOIN departments AS d ON employees.dept_id = d.dept_id - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__spec__null__null-handling__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__spec__null__null-handling__0.snap index 9eae310dbf7b..56dd535f5acb 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__spec__null__null-handling__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__spec__null__null-handling__0.snap @@ -9,4 +9,3 @@ FROM WHERE first_name IS NULL AND last_name IS NOT NULL - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__README__standard-library__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__README__standard-library__0.snap index 6d6223e475f6..e18e0afb9b37 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__README__standard-library__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__README__standard-library__0.snap @@ -9,4 +9,3 @@ SELECT NOW() AS time FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__README__standard-library__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__README__standard-library__1.snap index e2c3c1e4b870..7bec80323c2f 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__README__standard-library__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__README__standard-library__1.snap @@ -12,4 +12,3 @@ SELECT ROUND(ABS(x / y) - 0.5) * SIGN(x) * SIGN(y) AS int_quotient FROM table_0 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__README__standard-library__2.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__README__standard-library__2.snap index 33be44e1fedc..11b026dcbc74 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__README__standard-library__2.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__README__standard-library__2.snap @@ -12,4 +12,3 @@ SELECT (x DIV y) AS int_quotient FROM table_0 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__date__date-functions__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__date__date-functions__0.snap index 4e27c2d17c87..0d571a255711 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__date__date-functions__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__date__date-functions__0.snap @@ -1,9 +1,8 @@ --- source: web/book/tests/documentation/book.rs -expression: "prql target:sql.duckdb\n\nfrom invoices\nselect {\n invoice_date | date.to_text \"%d/%m/%Y\"\n}\n" +expression: "prql target:sql.duckdb\n\nfrom invoices\nselect (invoice_date | date.to_text \"%d/%m/%Y\")\n\n" --- SELECT strftime(invoice_date, '%d/%m/%Y') FROM invoices - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__date__date-functions__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__date__date-functions__1.snap index 051dfd1f627d..d227b1e78ca9 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__date__date-functions__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__date__date-functions__1.snap @@ -1,9 +1,8 @@ --- source: web/book/tests/documentation/book.rs -expression: "prql target:sql.postgres\n\nfrom invoices\nselect {\n invoice_date | date.to_text \"%d/%m/%Y\"\n}\n" +expression: "prql target:sql.postgres\n\nfrom invoices\nselect (invoice_date | date.to_text \"%d/%m/%Y\")\n\n" --- SELECT TO_CHAR(invoice_date, 'DD/MM/YYYY') FROM invoices - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__date__date-functions__2.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__date__date-functions__2.snap index d085d4567deb..a56bc9e4d77a 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__date__date-functions__2.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__date__date-functions__2.snap @@ -1,9 +1,8 @@ --- source: web/book/tests/documentation/book.rs -expression: "prql target:sql.mysql\n\nfrom invoices\nselect {\n invoice_date | date.to_text \"%d/%m/%Y\"\n}\n" +expression: "prql target:sql.mysql\n\nfrom invoices\nselect (invoice_date | date.to_text \"%d/%m/%Y\")\n\n" --- SELECT DATE_FORMAT(invoice_date, '%d/%m/%Y') FROM invoices - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__distinct__how-do-i-remove-duplicates__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__distinct__how-do-i-remove-duplicates__0.snap index ede0750cf87f..b142f736c9eb 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__distinct__how-do-i-remove-duplicates__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__distinct__how-do-i-remove-duplicates__0.snap @@ -1,9 +1,8 @@ --- source: web/book/tests/documentation/book.rs -expression: "from db.employees\nselect department\ngroup employees.* (\n take 1\n)\n" +expression: "from employees\nselect department\ngroup employees.* (\n take 1\n)\n" --- SELECT DISTINCT department FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__distinct__how-do-i-remove-duplicates__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__distinct__how-do-i-remove-duplicates__1.snap index 8c285298c54e..8fb5df9a66a8 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__distinct__how-do-i-remove-duplicates__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__distinct__how-do-i-remove-duplicates__1.snap @@ -1,9 +1,8 @@ --- source: web/book/tests/documentation/book.rs -expression: "from db.employees\ngroup employees.* (take 1)\n" +expression: "from employees\ngroup employees.* (take 1)\n" --- SELECT DISTINCT * FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__math__example__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__math__example__0.snap index d0b1753c2a30..39000854bce1 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__math__example__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__math__example__0.snap @@ -1,9 +1,8 @@ --- source: web/book/tests/documentation/book.rs -expression: "from employees\nselect {\n age_squared = age | math.pow 2\n}\n" +expression: "from employees\nselect age_squared = (age | math.pow 2)\n" --- SELECT POW(age, 2) AS age_squared FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__text__example__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__text__example__0.snap index cc93be4ee120..91479360976a 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__text__example__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__text__example__0.snap @@ -1,10 +1,9 @@ --- source: web/book/tests/documentation/book.rs -expression: "from employees\nselect {\n last_name | text.lower | text.starts_with(\"a\"),\n title | text.replace \"manager\" \"chief\"\n}\n" +expression: "from employees\nselect {\n (last_name | text.lower | text.starts_with(\"a\")),\n (title | text.replace \"manager\" \"chief\"),\n}\n" --- SELECT LOWER(last_name) LIKE CONCAT('a', '%'), REPLACE(title, 'manager', 'chief') FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__aggregate__aggregate-is-required__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__aggregate__aggregate-is-required__0.snap index d331831bff23..400244a2b95a 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__aggregate__aggregate-is-required__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__aggregate__aggregate-is-required__0.snap @@ -7,4 +7,3 @@ SELECT AVG(salary) OVER () AS avg_sal FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__aggregate__examples__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__aggregate__examples__0.snap index 129252cc9c7f..674482353fe7 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__aggregate__examples__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__aggregate__examples__0.snap @@ -7,4 +7,3 @@ SELECT COUNT(*) AS ct FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__aggregate__examples__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__aggregate__examples__1.snap index d5059ccbe428..23f74a3afc3a 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__aggregate__examples__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__aggregate__examples__1.snap @@ -12,4 +12,3 @@ FROM GROUP BY title, country - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__append__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__append__0.snap index f4b3647dacfa..dd829b5a1001 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__append__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__append__0.snap @@ -12,4 +12,3 @@ SELECT * FROM employees_2 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__append__intersection__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__append__intersection__0.snap index 8629cbd8a533..bf2e6c878d91 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__append__intersection__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__append__intersection__0.snap @@ -12,4 +12,3 @@ SELECT * FROM employees_2 AS b - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__append__remove__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__append__remove__0.snap index 7bd96f1b4dda..abc42927d2ce 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__append__remove__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__append__remove__0.snap @@ -12,4 +12,3 @@ SELECT * FROM employees_2 AS b - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__derive__examples__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__derive__examples__0.snap index c3f22194825f..231eb2207edd 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__derive__examples__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__derive__examples__0.snap @@ -7,4 +7,3 @@ SELECT salary + payroll_tax AS gross_salary FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__derive__examples__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__derive__examples__1.snap index 44f4ec2ccc92..36cfbb7bbdf1 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__derive__examples__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__derive__examples__1.snap @@ -8,4 +8,3 @@ SELECT salary + payroll_tax + benefits_cost AS gross_cost FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__filter__examples__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__filter__examples__0.snap index 07c1fa256020..217cf270ae0c 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__filter__examples__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__filter__examples__0.snap @@ -8,4 +8,3 @@ FROM employees WHERE age > 25 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__filter__examples__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__filter__examples__1.snap index dbe07acd57db..ffc03fea0141 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__filter__examples__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__filter__examples__1.snap @@ -9,4 +9,3 @@ FROM WHERE age > 25 OR department <> 'IT' - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__filter__examples__2.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__filter__examples__2.snap index 4982632e6732..7a7dd5646a4a 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__filter__examples__2.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__filter__examples__2.snap @@ -8,4 +8,3 @@ FROM employees WHERE department IN ('IT', 'HR') - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__filter__examples__3.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__filter__examples__3.snap index 3be38def5189..8d4e472b0cb8 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__filter__examples__3.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__filter__examples__3.snap @@ -8,4 +8,3 @@ FROM employees WHERE age BETWEEN 25 AND 40 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__group__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__group__0.snap index 4076091fd868..9c09532feac5 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__group__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__group__0.snap @@ -12,4 +12,3 @@ FROM GROUP BY title, country - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__group__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__group__1.snap index ae17856a190f..7dbfb0a954db 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__group__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__group__1.snap @@ -10,4 +10,3 @@ ORDER BY join_date LIMIT 1 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__group__2.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__group__2.snap index 1f6ccc3cbdaa..8628efda42e1 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__group__2.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__group__2.snap @@ -19,4 +19,3 @@ FROM table_0 WHERE _expr_0 <= 1 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__join__examples__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__join__examples__0.snap index 60e28449853a..f86ee2061be1 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__join__examples__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__join__examples__0.snap @@ -8,4 +8,3 @@ SELECT FROM employees LEFT JOIN positions ON employees.id = positions.employee_id - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__join__examples__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__join__examples__1.snap index 867a9539905a..39898832edbe 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__join__examples__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__join__examples__1.snap @@ -8,4 +8,3 @@ SELECT FROM employees LEFT JOIN positions AS p ON employees.id = p.employee_id - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__join__examples__2.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__join__examples__2.snap index f7c73eca2c27..b0bf21608f15 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__join__examples__2.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__join__examples__2.snap @@ -9,4 +9,3 @@ FROM tracks LEFT JOIN artists ON artists.id = tracks.artist_id AND artists.country = 'UK' - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__join__examples__3.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__join__examples__3.snap index 4f98b7e6b369..ecf331d64543 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__join__examples__3.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__join__examples__3.snap @@ -8,4 +8,3 @@ SELECT FROM tracks JOIN artists ON tracks.id = artists.artist_id - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__loop__examples__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__loop__examples__0.snap index be0f52dba91f..86d5f31deb9b 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__loop__examples__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__loop__examples__0.snap @@ -24,4 +24,3 @@ SELECT n FROM table_1 AS table_2 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__examples__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__examples__0.snap index 80c3ddbdc2d8..f5b9bab7d5ec 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__examples__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__examples__0.snap @@ -6,4 +6,3 @@ SELECT CONCAT(first_name, ' ', last_name) AS name FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__examples__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__examples__1.snap index 0b50a9273541..508080d26ee4 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__examples__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__examples__1.snap @@ -7,4 +7,3 @@ SELECT dob - DATE '2022-12-31' AS age_eoy FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__examples__2.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__examples__2.snap index cf2e2a66b22d..7a0a2b0e1196 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__examples__2.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__examples__2.snap @@ -6,4 +6,3 @@ SELECT first_name FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__examples__3.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__examples__3.snap index f094cd2231c3..deca891101a9 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__examples__3.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__examples__3.snap @@ -7,4 +7,3 @@ SELECT last_name FROM employees AS e - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__excluding-columns__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__excluding-columns__0.snap index 102720965a9d..40d20bbd45f7 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__excluding-columns__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__excluding-columns__0.snap @@ -8,4 +8,3 @@ EXCEPT (milliseconds, bytes) FROM tracks - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__excluding-columns__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__excluding-columns__1.snap index c7a019fbad80..639d50f71120 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__excluding-columns__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__excluding-columns__1.snap @@ -7,4 +7,3 @@ SELECT bytes FROM tracks - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__excluding-columns__2.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__excluding-columns__2.snap index 52ccb90154db..f34793bc7aad 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__excluding-columns__2.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__excluding-columns__2.snap @@ -6,4 +6,3 @@ SELECT name AS nick FROM artists - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__excluding-columns__3.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__excluding-columns__3.snap index a461aefff201..7034e504b8bb 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__excluding-columns__3.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__select__excluding-columns__3.snap @@ -6,4 +6,3 @@ SELECT NOT is_compilation FROM tracks - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__examples__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__examples__0.snap index 5951fe633d39..d4e80db72595 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__examples__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__examples__0.snap @@ -8,4 +8,3 @@ FROM employees ORDER BY age - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__examples__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__examples__1.snap index f0328330b6ac..3c80bc508dea 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__examples__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__examples__1.snap @@ -8,4 +8,3 @@ FROM employees ORDER BY age DESC - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__examples__2.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__examples__2.snap index 5484ab1e0273..14cb6e855eed 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__examples__2.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__examples__2.snap @@ -10,4 +10,3 @@ ORDER BY age, tenure DESC, salary - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__examples__3.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__examples__3.snap index 3e70a5d6b893..f14c588ecf11 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__examples__3.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__examples__3.snap @@ -15,4 +15,3 @@ FROM table_0 ORDER BY _expr_0 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__ordering-guarantees__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__ordering-guarantees__0.snap index 8f55f5ab716f..b44e2f21b93f 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__ordering-guarantees__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__sort__ordering-guarantees__0.snap @@ -10,4 +10,3 @@ FROM JOIN locations ON employees.employee_id = locations.employee_id ORDER BY employees.tenure - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__take__examples__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__take__examples__0.snap index 2c7ba72014cf..7deb997187b5 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__take__examples__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__take__examples__0.snap @@ -8,4 +8,3 @@ FROM employees LIMIT 10 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__take__examples__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__take__examples__1.snap index 94edff3492c1..efbb43083a35 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__take__examples__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__take__examples__1.snap @@ -11,4 +11,3 @@ ORDER BY created_at LIMIT 10 OFFSET 100 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__example__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__example__0.snap index be8757488063..20512d4eb742 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__example__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__example__0.snap @@ -11,4 +11,3 @@ SELECT ) AS trail_12_m_comp FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__example__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__example__1.snap index a82060d3e71a..7c6fa539d6d2 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__example__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__example__1.snap @@ -15,4 +15,3 @@ SELECT ) AS monthly_running_total FROM orders - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__example__2.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__example__2.snap index 24d23ea1c75e..017072da176a 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__example__2.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__example__2.snap @@ -47,4 +47,3 @@ FROM table_0 ORDER BY time_id - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__window-functions-as-first-class-citizens__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__window-functions-as-first-class-citizens__0.snap index 036f84189e54..32d9070bef5f 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__window-functions-as-first-class-citizens__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__window-functions-as-first-class-citizens__0.snap @@ -15,4 +15,3 @@ FROM table_0 WHERE salary < _expr_0 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__windowing-by-default__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__windowing-by-default__0.snap index ebb57a468133..12b4c2ca9272 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__windowing-by-default__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__windowing-by-default__0.snap @@ -12,4 +12,3 @@ FROM employees ORDER BY age - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__windowing-by-default__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__windowing-by-default__1.snap index b98d21393e97..452a103f0608 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__windowing-by-default__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__window__windowing-by-default__1.snap @@ -11,4 +11,3 @@ SELECT ) AS rnk FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__case__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__case__0.snap index aeeaf39ac81d..db4a81ff4543 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__case__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__case__0.snap @@ -11,4 +11,3 @@ SELECT END AS distance FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__case__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__case__1.snap index 7119cf5774e5..b0bfff8b62a5 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__case__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__case__1.snap @@ -11,4 +11,3 @@ SELECT END AS distance FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__comments__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__comments__0.snap index a864715e8b97..0911d30f3fa7 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__comments__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__comments__0.snap @@ -6,4 +6,3 @@ SELECT AVG(salary) FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__f-strings__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__f-strings__0.snap index 64f52ae4ff64..465aa934c936 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__f-strings__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__f-strings__0.snap @@ -6,4 +6,3 @@ SELECT CONCAT(first_name, ' ', last_name) AS full_name FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__f-strings__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__f-strings__1.snap index 9be18402aa09..f6e320164195 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__f-strings__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__f-strings__1.snap @@ -15,4 +15,3 @@ SELECT ) AS url FROM web - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__0.snap index 51fa3ecd35e1..2d7ac54c663a 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__0.snap @@ -9,4 +9,3 @@ FROM my_table LIMIT 3 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__identifiers--keywords__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__identifiers--keywords__0.snap index 7ffadbd11ee9..c510fdf2672a 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__identifiers--keywords__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__identifiers--keywords__0.snap @@ -6,4 +6,3 @@ SELECT COUNT(*) FROM invoices - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__identifiers--keywords__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__identifiers--keywords__1.snap index 9ab7486b6550..c4a2517c1925 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__identifiers--keywords__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__identifiers--keywords__1.snap @@ -8,4 +8,3 @@ SELECT FROM invoices JOIN tracks ON invoices.track_id = tracks.id - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__identifiers--keywords__2.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__identifiers--keywords__2.snap index eced8101a432..2f2899d8f85b 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__identifiers--keywords__2.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__identifiers--keywords__2.snap @@ -9,4 +9,3 @@ Error: │ ──┬─ │ ╰─── expected a value, but found a type ───╯ - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__identifiers--keywords__3.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__identifiers--keywords__3.snap index 914c4466f711..1dbed44123bb 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__identifiers--keywords__3.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__identifiers--keywords__3.snap @@ -7,4 +7,3 @@ SELECT time AS t FROM invoices - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__quoting__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__quoting__0.snap index 1c4f5d70bcc7..01d499c7c392 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__quoting__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__quoting__0.snap @@ -6,4 +6,3 @@ SELECT `first name` FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__quoting__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__quoting__1.snap index d140e6b168ec..9491180a72fc 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__quoting__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__quoting__1.snap @@ -6,4 +6,3 @@ SELECT "first name" FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__quoting__2.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__quoting__2.snap index afeadbc27fec..759c7634461a 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__quoting__2.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__quoting__2.snap @@ -8,4 +8,3 @@ SELECT FROM `project-foo.dataset.table` JOIN `project-bar.dataset.table` ON `project-foo.dataset.table`.col_bax = `project-bar.dataset.table`.col_bax - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__schemas--database-names__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__schemas--database-names__0.snap index babe32476928..102e0e109e72 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__schemas--database-names__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__keywords__schemas--database-names__0.snap @@ -6,4 +6,3 @@ SELECT * FROM my_database.chinook.albums - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__literals__dates__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__literals__dates__0.snap index ebb6ba7b3f88..c334f1536543 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__literals__dates__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__literals__dates__0.snap @@ -7,4 +7,3 @@ SELECT DATE '2022-12-31' - dob AS age_at_year_end FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__literals__numbers__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__literals__numbers__0.snap index bb1030ac9bd6..df7cb06867a6 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__literals__numbers__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__literals__numbers__0.snap @@ -11,4 +11,3 @@ SELECT 511 AS octal FROM numbers - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__literals__times__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__literals__times__0.snap index 4c6d191bd48f..2ed9d90ea63f 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__literals__times__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__literals__times__0.snap @@ -7,4 +7,3 @@ SELECT order_time < TIME '08:30' AS should_have_shipped_today FROM orders - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__literals__timestamps__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__literals__timestamps__0.snap index a815ebda7c64..7354c2e8913e 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__literals__timestamps__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__literals__timestamps__0.snap @@ -8,4 +8,3 @@ SELECT TIMESTAMP '2020-01-02T21:19:55Z' AS first_prql_commit_utc FROM commits - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__coalesce__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__coalesce__0.snap index 8b212d3a31a8..88ef19d4a91f 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__coalesce__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__coalesce__0.snap @@ -7,4 +7,3 @@ SELECT COALESCE(amount, 0) FROM orders - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__division-and-integer-division__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__division-and-integer-division__0.snap index c1e649d9be10..0da79dd6cfb8 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__division-and-integer-division__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__division-and-integer-division__0.snap @@ -17,4 +17,3 @@ SELECT ROUND(ABS(a / b) - 0.5) * SIGN(a) * SIGN(b) AS int_div_out FROM table_0 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__parentheses__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__parentheses__1.snap index 14bda0a05594..8c679255e9db 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__parentheses__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__parentheses__1.snap @@ -9,4 +9,3 @@ Error: │ ────┬─── │ ╰───── Unknown name `distance` ───╯ - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__parentheses__2.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__parentheses__2.snap index 1e98a2e14409..0d57d7a4196c 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__parentheses__2.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__parentheses__2.snap @@ -7,4 +7,3 @@ SELECT SUM(distance) OVER () AS other_distance FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__0.snap index 0dda276c7131..ec335d152b10 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__0.snap @@ -8,4 +8,3 @@ FROM tracks WHERE REGEXP(name, 'Love') - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__1.snap index 310be9c93547..881bced487bd 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__1.snap @@ -8,4 +8,3 @@ FROM artists WHERE REGEXP_MATCHES(name, 'Love.*You') - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__2.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__2.snap index 71278bc4058c..74901269cfcd 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__2.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__2.snap @@ -8,4 +8,3 @@ FROM tracks WHERE REGEXP_CONTAINS(name, '\bLove\b') - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__3.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__3.snap index 49ce0291a630..8948b61f9624 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__3.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__3.snap @@ -8,4 +8,3 @@ FROM tracks WHERE name ~ '\(I Can''t Help\) Falling' - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__4.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__4.snap index a534574c8b57..fefdd725c566 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__4.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__4.snap @@ -8,4 +8,3 @@ FROM tracks WHERE REGEXP_LIKE(name, 'With You', 'c') - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__5.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__5.snap index 835cc96a4bb3..d7e11e636fad 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__5.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__regex-expressions__5.snap @@ -8,4 +8,3 @@ FROM tracks WHERE name REGEXP 'But Why Isn''t Your Syntax More Similar\?' - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__wrapping-lines__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__wrapping-lines__0.snap index 3ad5019c512b..cbe3a776b1c9 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__wrapping-lines__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__wrapping-lines__0.snap @@ -8,4 +8,3 @@ SELECT OR country = 'ES' AS is_europe FROM artists - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__wrapping-lines__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__wrapping-lines__1.snap index 27b9ee84d3df..8e040204e596 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__wrapping-lines__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__operators__wrapping-lines__1.snap @@ -8,4 +8,3 @@ SELECT ) * length_s / 60 / 60 / 24 / 365 AS listening_time_years FROM tracks - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__parameters__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__parameters__0.snap index 53d73c3c579f..03911b996a89 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__parameters__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__parameters__0.snap @@ -8,4 +8,3 @@ FROM employees WHERE id = $1 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__pipes__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__pipes__0.snap index f6c8fefb1446..280b8a52ec47 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__pipes__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__pipes__0.snap @@ -9,4 +9,3 @@ FROM employees WHERE department = 'Product' - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__pipes__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__pipes__1.snap index 922d04c8e3c0..143d32894f08 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__pipes__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__pipes__1.snap @@ -9,4 +9,3 @@ FROM employees WHERE department = 'Product' - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__pipes__inner-transforms__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__pipes__inner-transforms__0.snap index d5059ccbe428..23f74a3afc3a 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__pipes__inner-transforms__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__pipes__inner-transforms__0.snap @@ -12,4 +12,3 @@ FROM GROUP BY title, country - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__r-strings__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__r-strings__0.snap index 843616bee619..f13df3be5eaa 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__r-strings__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__r-strings__0.snap @@ -8,4 +8,3 @@ SELECT '\\\t' AS raw_string FROM artists - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__ranges__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__ranges__0.snap index 626ea28b8706..bd859b4251bf 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__ranges__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__ranges__0.snap @@ -10,4 +10,3 @@ FROM WHERE created_at BETWEEN DATE '1776-07-04' AND DATE '1787-09-17' AND magnitude BETWEEN 50 AND 100 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__ranges__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__ranges__1.snap index 94edff3492c1..efbb43083a35 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__ranges__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__ranges__1.snap @@ -11,4 +11,3 @@ ORDER BY created_at LIMIT 10 OFFSET 100 - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__0.snap index c37609419f3c..4de11d3a753e 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__0.snap @@ -6,4 +6,3 @@ SELECT version() AS db_version FROM my_table - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__1.snap index 5a4667b2a65a..4d15263a4de1 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__1.snap @@ -6,4 +6,3 @@ SELECT AVG(salary) FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__2.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__2.snap index 74a0450e96af..19fb28e76fc5 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__2.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__2.snap @@ -9,4 +9,3 @@ FROM dept_emp AS de LEFT JOIN salaries AS s ON s.emp_no = de.emp_no AND (s.from_date, s.to_date) OVERLAPS (de.from_date, de.to_date) - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__3.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__3.snap index 8cf53a61f1ff..a6da1b3cf9aa 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__3.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__3.snap @@ -24,4 +24,3 @@ SELECT FROM table_0 JOIN table_1 ON table_0.id = table_1.id - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__braces__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__braces__0.snap index 9edc1d0ee590..c3c032185584 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__braces__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__braces__0.snap @@ -7,4 +7,3 @@ SELECT regexp_contains(title, '([a-z0-9]*-){2,}') AS has_valid_title FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__precedence-within-s-strings__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__precedence-within-s-strings__0.snap index 6088ec8a2486..9ed6f7efd4b3 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__precedence-within-s-strings__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__precedence-within-s-strings__0.snap @@ -8,4 +8,3 @@ SELECT salary + benefits / 365 AS daily_rate FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__precedence-within-s-strings__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__precedence-within-s-strings__1.snap index d826fd410823..d8e9978c023e 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__precedence-within-s-strings__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__s-strings__precedence-within-s-strings__1.snap @@ -8,4 +8,3 @@ SELECT (salary + benefits) / 365 AS daily_rate FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__strings__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__strings__0.snap index 77fc8a3dd8d8..7bc5167b0285 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__strings__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__strings__0.snap @@ -9,4 +9,3 @@ SELECT 'hello world' AS double_triple FROM artists - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__strings__quoting-and-escape-characters__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__strings__quoting-and-escape-characters__0.snap index 85f9ee2d02df..f2169ea60dec 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__strings__quoting-and-escape-characters__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__strings__quoting-and-escape-characters__0.snap @@ -8,4 +8,3 @@ SELECT 'I said "hello world"!' AS triple FROM artists - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__strings__quoting-and-escape-characters__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__strings__quoting-and-escape-characters__1.snap index 8a165cc35aa2..cac44387e44c 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__strings__quoting-and-escape-characters__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__strings__quoting-and-escape-characters__1.snap @@ -11,4 +11,3 @@ SELECT '🐢' AS turtle FROM artists - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__tuples__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__tuples__0.snap index ed3e3be8f31e..b39c7e32541c 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__tuples__0.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__tuples__0.snap @@ -6,4 +6,3 @@ SELECT first_name FROM employees - diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__tuples__1.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__tuples__1.snap index cf2e2a66b22d..7a0a2b0e1196 100644 --- a/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__tuples__1.snap +++ b/web/book/tests/documentation/snapshots/documentation__book__reference__syntax__tuples__1.snap @@ -6,4 +6,3 @@ SELECT first_name FROM employees -