--- source: prqlc/prqlc/tests/integration/queries.rs expression: "from genres\ntake 10\nfilter true\ntake 20\nfilter true\nselect d = 10\n" input_file: prqlc/prqlc/tests/integration/queries/constants_only.prql snapshot_kind: text --- frames: - - 1:12-19 - columns: - !All input_id: 130 except: [] inputs: - id: 130 name: genres table: - default_db - genres - - 1:20-31 - columns: - !All input_id: 130 except: [] inputs: - id: 130 name: genres table: - default_db - genres - - 1:32-39 - columns: - !All input_id: 130 except: [] inputs: - id: 130 name: genres table: - default_db - genres - - 1:40-51 - columns: - !All input_id: 130 except: [] inputs: - id: 130 name: genres table: - default_db - genres - - 1:52-65 - columns: - !Single name: - d target_id: 142 target_name: null inputs: - id: 130 name: genres table: - default_db - genres nodes: - id: 130 kind: Ident span: 1:0-11 ident: !Ident - default_db - genres parent: 133 - id: 133 kind: 'TransformCall: Take' span: 1:12-19 children: - 130 - 134 parent: 136 - id: 134 kind: Literal parent: 133 - id: 135 kind: Literal span: 1:27-31 parent: 136 - id: 136 kind: 'TransformCall: Filter' span: 1:20-31 children: - 133 - 135 parent: 138 - id: 138 kind: 'TransformCall: Take' span: 1:32-39 children: - 136 - 139 parent: 141 - id: 139 kind: Literal parent: 138 - id: 140 kind: Literal span: 1:47-51 parent: 141 - id: 141 kind: 'TransformCall: Filter' span: 1:40-51 children: - 138 - 140 parent: 144 - id: 142 kind: Literal span: 1:63-65 alias: d parent: 143 - id: 143 kind: Tuple span: 1:63-65 children: - 142 parent: 144 - id: 144 kind: 'TransformCall: Select' span: 1:52-65 children: - 141 - 143 ast: name: Project stmts: - VarDef: kind: Main name: main value: Pipeline: exprs: - FuncCall: name: Ident: from span: 1:0-4 args: - Ident: genres span: 1:5-11 span: 1:0-11 - FuncCall: name: Ident: take span: 1:12-16 args: - Literal: Integer: 10 span: 1:17-19 span: 1:12-19 - FuncCall: name: Ident: filter span: 1:20-26 args: - Literal: Boolean: true span: 1:27-31 span: 1:20-31 - FuncCall: name: Ident: take span: 1:32-36 args: - Literal: Integer: 20 span: 1:37-39 span: 1:32-39 - FuncCall: name: Ident: filter span: 1:40-46 args: - Literal: Boolean: true span: 1:47-51 span: 1:40-51 - FuncCall: name: Ident: select span: 1:52-58 args: - Literal: Integer: 10 span: 1:63-65 alias: d span: 1:52-65 span: 1:0-65 span: 1:0-65