[ 
https://issues.apache.org/jira/browse/ARROW-17351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17577503#comment-17577503
 ] 

Weston Pace commented on ARROW-17351:
-------------------------------------

I think the first (more verbose) option is preferred because it will be more 
generic.

However, if the first option is working, the second option can always be added 
later as an optional shortcut (and then support both).

> [C++][Compute] Support to initialize expression with a string
> -------------------------------------------------------------
>
>                 Key: ARROW-17351
>                 URL: https://issues.apache.org/jira/browse/ARROW-17351
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>    Affects Versions: 8.0.1
>            Reporter: LinGeLin
>            Priority: Major
>
> I want to achieve such a function, first would like to ask you which way to 
> achieve better
>  
> For example, I want to initialize an expression whose content is
> a210 - (a210 /203) * 203 = 0
> This means that column A210 modulo 203 is equal to 0
>  
> How do you compare these two ideas?
>  
> "(subtract(a210, multiply(divide(a210, 203), 203)) == 0)" to Expression
> or
> "a210-(a210/203)*203==0" to Expression



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to