jsai28 opened a new pull request, #1060: URL: https://github.com/apache/datafusion-python/pull/1060
# Which issue does this PR close? This addresses [#1045](https://github.com/apache/datafusion-python/issues/1045) - making global context more accessible. # Rationale for this change This change allows users to more easily access the global context and register functions with it. # What changes are included in this PR? The `get_global_ctx` method is made public and added to the python wrapper code in `context.py`. A new class method in `SessionContext` allows users to retrieve the global context. Changes were also made to the `read_*` functions in `io.py` to use the global context from the python wrapper. # Are there any user-facing changes? Yes, a new class method to `SessionContext`. Documentation will be added upon review. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org