haohuaijin commented on issue #11783: URL: https://github.com/apache/datafusion/issues/11783#issuecomment-2268074180
For an aggregate function with a filter, you should enable PostgreSQL dialect by using `set datafusion.sql_parser.dialect = 'Postgres';` -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org