prql-compiler 0.4.2

PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement.
Documentation
---
source: prql-compiler/src/semantic/resolver.rs
expression: "resolve_derive(r#\"\n            func add x to:1 -> x + to\n\n            from foo_table\n            derive [\n                added = add bar to:3,\n                added_default = add bar\n            ]\n            \"#).unwrap()"
---
- id: 13
  Binary:
    left:
      id: 12
      Ident:
        - _frame
        - foo_table
        - bar
      target_id: 5
      ty: Infer
    op: Add
    right:
      id: 11
      Literal:
        Integer: 3
      ty:
        Literal: Integer
  ty:
    Literal: Column
  alias: added
- id: 20
  Binary:
    left:
      id: 19
      Ident:
        - _frame
        - foo_table
        - bar
      target_id: 5
      ty: Infer
    op: Add
    right:
      id: 18
      Literal:
        Integer: 1
      ty:
        Literal: Integer
  ty:
    Literal: Column
  alias: added_default