getdozer / getdozer/dozer

Cannot use CTE field in join

Open
#2,192 0 comments 0 reactions 1 assignee Claimed by @Jesse-Bakker View on GitHub
Dominant language
Rust
Stars
1.6k
Forks
145
PR merge metrics
No merged PRs in 30d

Description

A query like

```SQL
WITH product AS (
SELECT product_id FROM source_products
)
SELECT product.product_id, SUM(orders.amount) FROM product
LEFT JOIN orders ON product.product_id = orders.product_id
```

will yield the error "Invalid Field specified in join : product.product_id"

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.