Skip to content

Commit

Permalink
refactor: SessionStateExt and SessionConfigExt (apache#1130)
Browse files Browse the repository at this point in the history
* refactor: SessionStateExt and SessionConfigExt

moving them out from util to their own module as
util is too busy, also it will align with naming
in used in client.

also, split `SessionConfigExt` to `SessionConfigExt`
and `SessionConfigHelperExt`. `SessionConfigExt`
will stay user facing, `SessionConfigHelperExt`
will be used internally. This reduces ballista
client public api

* remove deprecated context creation
  • Loading branch information
milenkovicm authored Nov 24, 2024
1 parent c649907 commit 8b10bd1
Show file tree
Hide file tree
Showing 13 changed files with 460 additions and 441 deletions.
5 changes: 3 additions & 2 deletions ballista/client/src/extension.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
// specific language governing permissions and limitations
// under the License.

pub use ballista_core::utils::SessionConfigExt;
use ballista_core::extension::SessionConfigHelperExt;
pub use ballista_core::extension::{SessionConfigExt, SessionStateExt};
use ballista_core::{
serde::protobuf::{scheduler_grpc_client::SchedulerGrpcClient, CreateSessionParams},
utils::{create_grpc_client_connection, SessionStateExt},
utils::create_grpc_client_connection,
};
use datafusion::{
error::DataFusionError,
Expand Down
Loading

0 comments on commit 8b10bd1

Please sign in to comment.