XiangpengHao commented on PR #11768: URL: https://github.com/apache/datafusion/pull/11768#issuecomment-2263635809
Do you @alamb have any thoughts on why clickbench query 5 won't previously panic? ```sql SELECT COUNT(DISTINCT "SearchPhrase") FROM hits; ``` I find only when we count two disctincts will go to this path, for example: ```sql SELECT COUNT(DISTINCT "HitColor"), COUNT(DISTINCT "BrowserCountry") FROM hits; ``` This make me suspect that Q5 is being casted to Utf8, which explains why it is slower with string view... looking at it, let me know if you have any ideas.. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
