8000 Make global context easier to access for users · Issue #1045 · apache/datafusion-python · GitHub
[go: up one dir, main page]

Skip to content
Make global context easier to access for users #1045
Closed
@timsaucer

Description

@timsaucer

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

#982 added convenience functions to use a global context for operations like read_parquet and others. It would be good to expose the global context to make it easier for users to register functions with it.

Describe the solution you'd like

  • Rename _global_ctx to global_ctx.
  • Add global context to python wrapper code
  • Add unit tests
  • Add user documentation

Describe alternatives you've considered

We can leave as is.

Additional context

It is worth considering if there are other common user functions that would benefit from the same treatment as the file readers. If so, we could open new issues for them

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0