pub fn resolve_and_lower( file_tree: ModuleDef, main_path: &[String], database_module_path: Option<&[String]>, ) -> Result<RelationalQuery, Error>
Runs semantic analysis on the query and lowers PL to RQ.