davisp commented on code in PR #1396:
URL:
https://github.com/apache/datafusion-python/pull/1396#discussion_r2919545344
##########
python/datafusion/context.py:
##########
@@ -830,6 +831,20 @@ def deregister_table(self, name: str) -> None:
"""Remove a table from the session."""
self.ctx.deregister_table(name)
+ def register_table_factory(
+ self, format: str, factory: TableProviderFactoryExportable
+ ) -> None:
+ """Register a :py:class:`~datafusion.TableProviderFactoryExportable`.
+
+ The registered factory can be reference from SQL DDL statements
executed
+ against this context.
+
+ Args:
+ format: The value to be used in `STORED AS ${format}` clause.
+ factory: A PyCapsule that implements
TableProviderFactoryExportable"
Review Comment:
Fixed
[here](https://github.com/apache/datafusion-python/pull/1396/commits/29dcd98ff74c776856e516925a0ee62e3e3bc604).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]