You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/04/26 04:52:30 UTC

[GitHub] [arrow-datafusion] Ted-Jiang opened a new issue, #2343: Support Multi-Column Producing Function Implementation

Ted-Jiang opened a new issue, #2343:
URL: https://github.com/apache/arrow-datafusion/issues/2343

   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?
   
   ``` rust
   pub type MultiColumnProducingFunctionImplementation =
       Arc<dyn Fn(&[ColumnarValue]) -> Result<Vec<ColumnarValue>> + Send + Sync>;
   ```
   
   _Originally posted by @andygrove in https://github.com/apache/arrow-datafusion/issues/2330#issuecomment-1109238122_


-- 
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-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] alamb commented on issue #2343: Support Multi-Column Producing Function Implementation

Posted by GitBox <gi...@apache.org>.
alamb commented on issue #2343:
URL: https://github.com/apache/arrow-datafusion/issues/2343#issuecomment-1110222756

   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`)
   
   However DataFusion's support for such compound datatypes is in need of work -- see https://github.com/apache/arrow-datafusion/issues/2326


-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] Ted-Jiang commented on issue #2343: Support Multi-Column Producing Function Implementation

Posted by GitBox <gi...@apache.org>.
Ted-Jiang commented on issue #2343:
URL: https://github.com/apache/arrow-datafusion/issues/2343#issuecomment-1109344510

   I thinks we can call it TableFunctionImplementation
   https://docs.snowflake.com/en/sql-reference/functions-table.html


-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org