--- source: prqlc/prqlc/tests/integration/queries.rs expression: "# mssql:test\nlet distinct = rel -> (from t = _param.rel | group {t.*} (take 1))\n\nfrom_text format:json '{ \"columns\": [\"a\"], \"data\": [[1], [2], [2], [3]] }'\ndistinct\nremove (from_text format:json '{ \"columns\": [\"a\"], \"data\": [[1], [2]] }')\nsort a\n" input_file: prqlc/prqlc/tests/integration/queries/set_ops_remove.prql snapshot_kind: text --- let distinct = func rel -> ( from t = _param.rel group {t.*} (take 1) ) from_text format:json '{ "columns": ["a"], "data": [[1], [2], [2], [3]] }' distinct remove (from_text format:json '{ "columns": ["a"], "data": [[1], [2]] }') sort a