The function `HqlTreeBuilder.From` only accepts `HqlRange`, but not `HqlJoin` in addition to `HqlRange`, but it seems that JOINs must be part of the FROM AST.