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

dal-go / dalgo / 42363280241
100%

Build:
DEFAULT BRANCH: main
Ran 07 Nov 2026 10:20AM 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

07 Nov 2026 10:16AM UTC coverage: 100.0%. Remained the same
42363280241

push

github

web-flow
feat(tugql): cross-database sources — databases block and alias:: qualifier (#242)

TugQL text form: one query can join and nest sources from several databases.

```sql
databases (
  sales = 'datatug://chinook/sales?env=prod'
  geo
)
with BigInvoices as (
  from sales::Invoice as i
  where i.Total > 10
  select i.InvoiceId, i.BillingCountry, i.Total
)
from BigInvoices as b
join geo::Country as c
  on b.BillingCountry = c.Name
group by c.Name
select c.Name as Country, SUM(b.Total) as TotalSales
```

- A root `databases (` block declares `alias` or `alias = '<target>'`. The target is opaque to DALgo, and one carrying a password is rejected by a fixed textual rule. That rule does not parse URLs.
- `alias::path` qualifies a FROM/JOIN source in the main query, a CTE or a scalar subquery. It lowers to the existing `database` key and `dal.NewDatabaseCollectionRef`, and runs through `dal.ExecuteFederatedQuery`.
- Spec: `spec/features/tugql/README.md` REQ:tugql-cross-database and its AC; plan Task 15.
- Shared Go/TypeScript vectors: `tugql/testdata/tugql/v1/cross-database.json`. dal-go/dalgo-js vendors the file byte for byte.

Source commits:

- 551a046bdd6c spec(tugql): cross-database sources — databases block and alias:: qualifier
- 5ba183612ccd spec(tugql): plan task for cross-database sources
- 8e939f3ec94f fix(dal): federated join plan accepts a derived source
  federatedQueryExecutor.JoinFields resolved an executor for every source, so a
  derived (subquery/CTE) source joined to a database source failed the join plan
  with "federated source has no database". A derived source reads no single
  database: it now reports no provider fields and its columns come from its own
  query, as the generic executor already does.
- 52d5b33ea947 feat(tugql): cross-database sources in the TugQL text form
  Adds the root `databases (` block (`alias` or `alias = '<target>'`) and the
  `alias::path` qualifier for FROM/JOIN sources at every query level, lowering to
  the ex... (continued)

355 of 355 new or added lines in 7 files covered. (100.0%)

26585 of 26585 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42363280241.1 07 Nov 2026 10:20AM UTC 190
100.0
GitHub Action Run
Source Files on build 42363280241
  • Tree
  • List 190
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 39478df8 on github
  • Prev Build on main (#42184690943)
  • Next Build on main (#42397328367)
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