Skip to content

Add missing SessionContext utility methods#1475

Draft
timsaucer wants to merge 1 commit intoapache:mainfrom
timsaucer:feat/add-utility-methods
Draft

Add missing SessionContext utility methods#1475
timsaucer wants to merge 1 commit intoapache:mainfrom
timsaucer:feat/add-utility-methods

Conversation

@timsaucer
Copy link
Copy Markdown
Member

Which issue does this PR close?

Closes #1459

Rationale for this change

These methods exist in the upstream repository but have not been exposed to Python.

What changes are included in this PR?

Add methods to the Python API
Add unit tests

Are there any user-facing changes?

New addition only.

Expose upstream DataFusion v53 utility methods: session_start_time,
enable_ident_normalization, parse_sql_expr, execute_logical_plan,
refresh_catalogs, remove_optimizer_rule, and table_provider. The
add_optimizer_rule and add_analyzer_rule methods are omitted as the
OptimizerRule and AnalyzerRule traits are not yet exposed to Python.
Closes apache#1459.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add missing SessionContext utility methods

1 participant