prql-bot

Results comments of prql-bot

I verified all three findings against the current codebase: 1. **`fold_func_param`** (`fold.rs:289`) — confirmed zero callers. The default `fold_func` at line 271 folds `body` and `args` via struct spread but...

## 4. `has_other` in `Resolver::infer_type` is unreachable While reviewing `semantic/resolver/types.rs` in the 2026-04-25 nightly survey, I found another instance of the same pattern as #3 in this issue. [`semantic/resolver/types.rs:36`](https://github.com/PRQL/prql/blob/ab89a8b6b4afbe26ddf8d2ebb040470fea5a7a47/prqlc/prqlc/src/semantic/resolver/types.rs#L36) declares...

Item 4 from [my 2026-04-25 comment](https://github.com/PRQL/prql/issues/5793#issuecomment-4318409075) (`has_other` in `Resolver::infer_type`) was removed in #5937 (merged 2026-05-23). Items 1–3 from the original report (`fold_func_param`, `Lineage::prev_columns`, `display_ids`) are still open — leaving the...

It's not your PR — `tend-review` is hitting an infra issue that affects every fork PR right now. [`actions/[email protected]`](https://github.com/actions/checkout/releases/tag/v7.0.0) (2026-06-18) added a guard ([PR #2454](https://github.com/actions/checkout/pull/2454)) that refuses to check out...

Done — `tend-review` is running cleanly again ([run](https://github.com/PRQL/prql/actions/runs/28127458352)). A note for next time: GitHub's "Re-run" button (and `gh run rerun`) doesn't help here. Re-running a `pull_request_target` run reuses the workflow...

The `z` is leaking across the union boundary because the by-name merge collapses both sides into a *single* output lineage, and the lowerer then applies that one column list to...

Here's a survey of how other systems name their datetime truncation/rounding-to-interval functions: ## SQL Databases | Database | Standard Trunc | Arbitrary Interval (e.g. 15 min) | |---|---|---| | PostgreSQL...

CI is failing on `cargo fmt --check` — the `date_floor_unsupported_dialects` and `date_floor_operator` blocks in `prqlc/prqlc/tests/integration/sql.rs` have a few off-by-four-spaces indent issues and a wrapping that rustfmt wants on one line....

Opened #5943 with that refresh — it normalises `@r"…"` → `@"…"` on inline snapshots that don't need raw-string semantics, re-indents the `r#"…"#` blocks that did, and refreshes a few stale...

I've tried locally — merging `main` cleans up the bulk of the `insta` churn (thanks to #5943), leaving the diff focused on the `date.floor` changes plus an unavoidable +1 ID...