I wish there were a way to specify the expected join cardinality syntactically for 1:1 joins.
SELECT * FROM order JOIN_ONE customer USING (customer_id)
Malloy has join_one: https://docs.malloydata.dev/documentation/language/join