8000 Add `ctx = SessionContext()` to __init__ · Issue #1065 · apache/datafusion-python · GitHub
[go: up one dir, main page]

Skip to content

Add ctx = SessionContext() to __init__ #1065

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
deanm0000 opened this issue Mar 14, 2025 · 1 comment · May be fixed by #1072
Open

Add ctx = SessionContext() to __init__ #1065

deanm0000 opened this issue Mar 14, 2025 · 1 comment · May be fixed by #1072
Labels
enhancement New feature or request

Comments

@deanm0000
Copy link
Contributor

That way there'd just be one line

from datafusion import ctx, col, lit, functions as F

Image

@deanm0000 deanm0000 added the enhancement New feature or request label Mar 14, 2025
@Spaarsh Spaarsh linked a pull request Mar 17, 2025 that will close this issue
@timsaucer
Copy link
Contributor

Is this necessary? Now that we have the global context for reading files to create dataframes, this is potentially creating conflict of floating around two different default-ish contexts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0