mingmwang commented on PR #6457: URL: https://github.com/apache/arrow-datafusion/pull/6457#issuecomment-1568172608
I added additional logic to handle the `count()` aggregations in subquery, the logic is quite ugly. I'm not sure whether there are other good ways to handle this. @jackwener Could you please help to check how this SQL was rewritten in Apache Doris? `SELECT t1_id, (SELECT count(*) + 2 as _cnt FROM t2 WHERE t2.t2_int = t1.t1_int) from t1` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
