pingsutw opened a new pull request, #10849: URL: https://github.com/apache/datafusion/pull/10849
## Which issue does this PR close? Closes #10846 ## Rationale for this change The new session context works fine with the rules I added, but there is no way to register the rules to the session context directly. ## What changes are included in this PR? adding SessionContext::add_analyzer_rule that simply calls SessionState::add_analyzer_rule ## Are these changes tested? unit tests ## Are there any user-facing changes? <!-- If there are user-facing changes then we may require documentation to be updated before approving the PR. --> <!-- If there are any breaking changes to public APIs, please add the `api change` label. --> -- 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