Joris Van den Bossche created ARROW-8186:
--------------------------------------------
Summary: [Python] Dataset expression != returns bool instead of
expression for invalid value
Key: ARROW-8186
URL: https://issues.apache.org/jira/browse/ARROW-8186
Project: Apache Arrow
Issue Type: Bug
Components: Python
Reporter: Joris Van den Bossche
It's a bit a strange case, but eg when doing {{!= {3}}} you get a boolean
result instead of an expression:
{code}
In [8]: ds.field('col') != 3
Out[8]: <pyarrow.dataset.ComparisonExpression (col != 3:int64)>
In [9]: ds.field('col') != {3}
Out[9]: True
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)