Commits


Kshiteej K authored and GitHub committed 5e6da78a4f6
ARROW-16652: [Python] Cast compute kernel segfaults when called with a Table (#14044) Repro Script: ```python import pyarrow as pa import pyarrow.compute as pc table = pa.table({'a': [1, 2]}) pc.cast(table, pa.int64()) ``` Post PR we get, ``` pyarrow.lib.ArrowInvalid: Tried executing function with non-value type: Table ``` which is the same error we get if we replace `pc.cast(table, pa.int64())` with `pc.abs(table)`. Lead-authored-by: Kshiteej K <kshitijkalambarkar@gmail.com> Co-authored-by: kshitij12345 <kshitijkalambarkar@gmail.com> Signed-off-by: Alenka Frim <frim.alenka@gmail.com>