FAILED: Error in semantic analysis: Subqueries are not supported in UNIQUEJOIN