Skip to content

ExecutionContext support init ExecutionContextState with new(state: Arc<Mutex<ExecutionContextState>>) method #1439

@EricJoy2048

Description

@EricJoy2048

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Now, we can only create a datafusion execution context with default table information in ballista, we can't just create a new context because we need a context that has tables registered from previous SQL statements that have been executed.
image

Describe the solution you'd like
If ExecutionContext support init ExecutionContextState with new(state: Arc<Mutex<ExecutionContextState>>) method, then we can manage this information in the ballista scheduler, and send this information to the ballista executor, where every datafusion ExecutionContext created in the ballista executor can be Have the same ExecutionContextState content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions