Skip to content

Commit 3f3ad78

Browse files
committed
fix: correct table provider name in PyCapsule creation
1 parent ee17f08 commit 3f3ad78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/raw_capsule_registration_failure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def make_table_provider_capsule() -> object:
2929
pycapsule_new.restype = ctypes.py_object
3030
pycapsule_new.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_void_p]
3131
dummy_ptr = ctypes.cast(_DUMMY_CAPSULE_BYTES, ctypes.c_void_p)
32-
return pycapsule_new(dummy_ptr, b"datafusion_table_provider", None)
32+
return pycapsule_new(dummy_ptr, b"__datafusion_table_provider__", None)
3333

3434

3535
def main() -> None:

0 commit comments

Comments
 (0)