Skip to content

SessionContext.read_table should take PyCapsule objects #1245

@timsaucer

Description

@timsaucer

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

If I have a python object that implements TableProvider via PyCapsule, I should be able to pass this object directly to SessionContext.read_table

Describe the solution you'd like

Update read_table to also accept a PyCapsule object and register it.

Describe alternatives you've considered

Currently you can register_table_provider() and then table() to work around.

Additional context

Also ensure the existing PyTable objects are still able to be used as read_table.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions