You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tree = Parsing.p_module(s, pxd, full_module_name)
Error compiling Cython file:
------------------------------------------------------------
...
cdef shared_ptr[CRecordBatch] record = pyarrow_unwrap_batch(obj)
if record.get() == NULL:
raise TypeError("not a batch")
return record.get().column_data(1)
^
------------------------------------------------------------
example.pyx:15:23: Object of type 'CRecordBatch' has no attribute 'column_data'
Traceback (most recent call last):
File "setup.py", line 9, in <module>
ext_modules = cythonize("example.pyx")
File "/usr/local/lib/python3.7/site-packages/Cython/Build/Dependencies.py", line 1102, in cythonize
cythonize_one(*args)
File "/usr/local/lib/python3.7/site-packages/Cython/Build/Dependencies.py", line 1225, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: example.pyx
The text was updated successfully, but these errors were encountered:
Hello,
I am trying tor read the column data from the CRecordBatch object, but it says Object of type 'CRecordBatch' has no attribute 'column_data'.
Example.pyx
test.py
Full Error:
The text was updated successfully, but these errors were encountered: