You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "kabicm (via GitHub)" <gi...@apache.org> on 2023/11/22 00:43:28 UTC

[I] Applying arrow::compute::Expression on arrow::Table [arrow]

kabicm opened a new issue, #38838:
URL: https://github.com/apache/arrow/issues/38838

   ### Describe the usage question you have. Please include as many useful details as  possible.
   
   
   As part of implementing a project operator, I am having a vector of expressions that should be applied to an `arrow::Table` object.
   
   I see that `arrow::compute::Expression` can be applied to an `ExecBatch` object by invoking `arrow::compute::ExecuteScalarExpression` function. However, seems that this function only works on ExecBatch.
   
   How can I apply an expression on a table? Moreover, how can I apply a vector of expression on a table?
   
   ### Component(s)
   
   C++


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

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


Re: [I] Applying arrow::compute::Expression on arrow::Table [arrow]

Posted by "js8544 (via GitHub)" <gi...@apache.org>.
js8544 commented on issue #38838:
URL: https://github.com/apache/arrow/issues/38838#issuecomment-1822923169

   There is a `MakeExecBatch` function right before `ExecuteScalarExpression` that takes a `Datum`, and `Datum` can be constructed from a `Table`.


-- 
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


Re: [I] Applying arrow::compute::Expression on arrow::Table [arrow]

Posted by "kabicm (via GitHub)" <gi...@apache.org>.
kabicm commented on issue #38838:
URL: https://github.com/apache/arrow/issues/38838#issuecomment-1848411967

   Great, thanks Jin!


-- 
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


Re: [I] Applying arrow::compute::Expression on arrow::Table [arrow]

Posted by "kabicm (via GitHub)" <gi...@apache.org>.
kabicm closed issue #38838: Applying arrow::compute::Expression on arrow::Table
URL: https://github.com/apache/arrow/issues/38838


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

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