mattaubury opened a new issue, #35354: URL: https://github.com/apache/arrow/issues/35354
### Describe the bug, including details regarding any error messages, version, and platform. In this example, I'm doing an anti-join between a table and itself - which should result in an empty table. But once the table exceeds 1024 elements, the resulting table is non-empty: ``` import pyarrow as pa import pyarrow.dataset as ds N = 1030 strings = pa.array((str(i) for i in range(N)), type=pa.large_string()) table = pa.table([strings], names=["a"]) dataset = ds.dataset(table) result = dataset.join(dataset, keys=["a"], join_type="right anti") print(result.to_table()) ``` Result: ``` pyarrow.Table a: large_string ---- a: [["1024","1025","1026","1027","1028","1029"]] ``` The problem is also observed for `large_binary`, but not other types that I've tried such as `string`. Interestingly it also doesn't seem to be a problem for `left anti`. ### Component(s) C++, Python -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
