Skip to content

Commit 3551ea7

Browse files
committed
fix: add success message for capsule_dependent() execution in example
1 parent af1eb8a commit 3551ea7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/table_capsule_failure.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def capsule_dependent_udtf() -> Table:
3434
# ``__datafusion_table_provider__`` helper that PyTableFunction expects.
3535
try:
3636
ctx.sql("SELECT * FROM capsule_dependent()").collect()
37+
print("capsule_dependent() works")
3738
except NotImplementedError as err:
3839
# Document the regression by surfacing the missing capsule attribute
3940
# instead of crashing with a panic inside the execution engine.

0 commit comments

Comments
 (0)