Closed ahuarte47 closed 7 months ago
Hi, first of all, thank you very much for developing this amazing tool!
I am facing one issue executing a query that includes the array_agg function.
array_agg
Without "array_agg" query plan looks great:
But when I add array_agg function, it is not included in the query to run in Duckdb, but it is perfomed by PostgreSQL:
The performance is very much worse, please, what I am doing wrong?, is there an issue? Thanks in advance
Maybe this filter of functions is the key?
I propose this PR that implements this issue
sorry for the delay, and let me check it.
Thank you very much @alitrack for your review
I am closing this ticket, code got merged. Thanks @alitrack
Hi, first of all, thank you very much for developing this amazing tool!
I am facing one issue executing a query that includes the
array_agg
function.Without "array_agg" query plan looks great:
![image](https://github.com/alitrack/duckdb_fdw/assets/5576272/b12ddc32-2721-4b1a-a1ed-4434ecdea837)
But when I add
![image](https://github.com/alitrack/duckdb_fdw/assets/5576272/25bc56f1-662c-469b-9866-60b5a1a8d169)
array_agg
function, it is not included in the query to run in Duckdb, but it is perfomed by PostgreSQL:The performance is very much worse, please, what I am doing wrong?, is there an issue? Thanks in advance