apache / datafusion

Apache DataFusion SQL Query Engine
https://datafusion.apache.org/
Apache License 2.0
5.21k stars 957 forks source link

Clarify docs explaining the relationship between `SessionState` and `SessionContext` #10350

Closed alamb closed 2 weeks ago

alamb commented 2 weeks ago

Which issue does this PR close?

Part of #7013

Rationale for this change

As @westonpace explained in https://github.com/apache/datafusion/pull/10330#discussion_r1586871715 the relationship and differences between these classes is not clear.

What changes are included in this PR?

Try to clarify the differences and when people should create one or the other

Are these changes tested?

CI doc checks

Are there any user-facing changes?

Just docs, no change in functionality

alamb commented 2 weeks ago

CI failed due to https://github.com/apache/datafusion/issues/10352