[
https://issues.apache.org/jira/browse/ARROW-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joris Van den Bossche updated ARROW-8186:
-----------------------------------------
Fix Version/s: 0.17.0
> [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
> Priority: Major
> Fix For: 0.17.0
>
>
> 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)