Patzifist opened a new issue, #785:
URL: https://github.com/apache/arrow-go/issues/785
### Describe the bug, including details regarding any error messages,
version, and platform.
**Description**:
I am encountering a runtime panic when executing a SetLookup (IsIn)
operation on a FixedSizeBinary column using the Go implementation of Apache
Arrow (v18).
The stack trace indicates that the panic occurs within visitFSB (Fixed Size
Binary visitor) inside the isInKernelExec. Specifically, it fails when the
BinaryMemoTable attempts to look up values, leading to an invalid slice
operation in the underlying bufferBuilder.
**Steps to Reproduce:**
Data: TPC-DS dataset SF1
The issue appears when using a filter with an IN clause on a column with a
fixed-size type.
Example logic:
-- i_category is a FixedSizeBinary type
SELECT i_item_id, i_item_desc, i_category, i_current_price
FROM item
WHERE i_category IN ('Sports', 'Books', 'Home', 'Test');
Observed Behavior:
The application panics with:
panic: runtime error: slice bounds out of range [:16] with capacity 0
goroutine 3835099 [running]:
://github.com
arrow/array/bufferbuilder.go:85
...
://github.com
arrow/compute/internal/kernels/scalar_set_lookup.go:75
://github.com
arrow/compute/internal/kernels/scalar_set_lookup.go:73
### Component(s)
Parquet, Other
--
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]