opteryx icon indicating copy to clipboard operation
opteryx copied to clipboard

🪲 Can't subscript literal arrays

Open joocer opened this issue 1 year ago • 1 comments

SELECT ('a', 'b', 'c')[2] AS three

File "opteryx/compiled/list_ops/cython_list_ops.pyx", line 210, in opteryx.compiled.list_ops.cython_list_ops.cython_get_element_op cpdef cnp.ndarray cython_get_element_op(cnp.ndarray[object, ndim=1] array, int key): ValueError: Buffer has wrong number of dimensions (expected 1, got 2)

joocer avatar Jun 03 '24 20:06 joocer