We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think we will need to introduce a new type of function to cover inline since it is not a scalar function.
inline
I don't have a good name for it yet but I think we need something like this?
pub type MultiColumnProducingFunctionImplementation = Arc<dyn Fn(&[ColumnarValue]) -> Result<Vec<ColumnarValue>> + Send + Sync>;
Originally posted by @andygrove in #2330 (comment)
The text was updated successfully, but these errors were encountered:
I thinks we can call it TableFunctionImplementation https://docs.snowflake.com/en/sql-reference/functions-table.html
Sorry, something went wrong.
I think a multiple column table function is different than a "table function"
A table function returns (potentially) multiple columns and rows where as I think this ticket is just talking about returning multiple columns.
The natural thing in my mind for this usecase would be to return a single column of DataType::Struct (or DataType::List)
DataType::Struct
DataType::List
However DataFusion's support for such compound datatypes is in need of work -- see #2326
No branches or pull requests
I think we will need to introduce a new type of function to cover
inline
since it is not a scalar function.I don't have a good name for it yet but I think we need something like this?
Originally posted by @andygrove in #2330 (comment)
The text was updated successfully, but these errors were encountered: