• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dal-go / dalgo / 42467755585
100%

Build:
DEFAULT BRANCH: main
Ran 08 Nov 2026 09:40AM UTC
Jobs 1
Files 190
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Nov 2026 09:34AM UTC coverage: 100.0%. Remained the same
42467755585

push

github

web-flow
fix(tugql): allow projection aliases in JOIN HAVING and ORDER BY (#243)

In a JOIN query, the TugQL validator rejected an unqualified projection alias in `ORDER BY` and `HAVING` with `join_field: unqualified JOIN field requires schema metadata`. The TugQL reference says the opposite (tugql/tugql `reference/aggregation.md`: "Aliases can be referenced from `having` and `orderBy`"), and the browser engine (`@dalgo/core` 0.9.0) already accepts it.

Found because the tugql.org hero query (`group by i.BillingCountry, p.population` … `order by Total desc`, where `Total` is `SUM(i.Total) as Total`) resolves in DataTug.app but fails `ResolveTugQL` at v0.102.1 with `join_field at orderBy[0].source`.

Source commits:

- cac160c809fa fix(tugql): allow projection aliases in JOIN HAVING and ORDER BY
  The TugQL reference lets HAVING and ORDER BY name a projection alias, but the
  JOIN field check refused any unqualified field there, so the tugql.org hero
  query (order by Total desc) failed ResolveTugQL. WHERE and GROUP BY still
  refuse aliases.
- f2a9cf592054 fix(dal): JOIN executor accepts projection aliases in HAVING and ORDER BY
  With source field metadata, validateQueryFields refused an unqualified alias
  such as ORDER BY T as unavailable in the base source, so the alias that tugql
  now accepts failed at execution. Aliases are in scope there and only outside
  aggregate arguments, in both the executor and the tugql check.

Pull request: dal-go/dalgo#243
Review: https://github.com/dal-go/dalgo/pull/243#issuecomment-6719754638

26 of 26 new or added lines in 2 files covered. (100.0%)

26610 of 26610 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42467755585.1 08 Nov 2026 09:40AM UTC 190
100.0
GitHub Action Run
Source Files on build 42467755585
  • Tree
  • List 190
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 69da201f on github
  • Prev Build on main (#42397328367)
  • Next Build on main (#42955706200)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc