-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table functions: add push down projections support #238
Comments
I didn't add support for it initially because I wanted to wait for the feedback. I can add support for projection push-downs but it will require a third callback making the |
I can confirm that table functions work very well :) Apart from the projection push-down not being available, the other missing thing is limited type support for returned values. Here I found that composite types are fully supported, but I don't think it works with table functions. I am not sure as I only briefly checked the code, will spend a bit more time in the coming days. |
Reading composite types is supported for every type except |
Yeah, I only meant what a table function can return. |
Table function can return anything as long as WriteValue is implemented for the properties that you want to write. At the moment the writer supports primitive types, Enum, List and Array. One workaround for complex properties is to write the nested properties to several columns of the result set instead of one column. |
DuckDB C API allows push-down projections, it's be great to get it supported here as well.
The text was updated successfully, but these errors were encountered: