Open asfimport opened 1 year ago
Weston Pace / @westonpace: 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).
Eduardo Ponce / @edponce: I have several comments with respect to string-to-Expression support:
Favor explicit names for operations (via prefix notation) instead of algebraic expressions
add
vs add_checked
) and many functions do not have an mathematical symbol.FunctionOptions
where applicable.String expressions require defining an escape character and rules for handling this type of nuisances.
There have been ideas to support a text format for defining unit tests' inputs. Ideally, a single text format would be practical for both cases, otherwise, it may not be adequate to pursue an Arrow custom text format.
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
Reporter: LinGeLin Assignee: Sasha Krassovsky / @save-buffer
PRs and other links:
Note: This issue was originally created as ARROW-17351. Please see the migration documentation for further details.