Parsing join table: fix parsing for functions, special constructions