Initially, Pinot did not have support for joins and nested queries. At the time, folks would use Trino/Presto with Pinot to get full sql support with power of Pinot. Pinot has since introduced support for joins and nested queries with its multi-stage engine, so that gap is no longer there