# Should fail: the select column omits `from:`, but the view has more than
# one source (a `from` + a `join`), so Holocron can't infer which one.
# Caught by L3 (resolve views) — exit 1.
#
# Fix: add `from: a` or `from: b` to the select item.
#
# Run: cargo run -- samples/error_ambiguous_source.holocron.yaml
tables:
- name: a
columns:
primary_key:
- name: b
columns:
primary_key:
views:
- name: ambig_view
from:
join:
-
select:
- # no `from` — ambiguous