Is your feature request related to a problem or challenge?
Currently DataFusion operators communicate via a narrow API i.e. forwarding SendableRecordBatchStreams. In some instances, in particular the ExecutionPlans operating on unbounded streams need to snapshot their state and co-ordinate with source operators. It'd be a powerful primitive to add a StateBackend concept to the RuntimeEnv where users could then write operators to store adhoc durable state into a backend such as rocksdb.
Realise this may not be useful for many use cases but RuntimeEnv does seem to have ability to plug in an object store registry as well as a catalog manager. This would be a crucial unlock to make stateful stream processing application with DataFusion.
If the current, API contains such a pathway already, would love to get pointers in the right direction.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
Is your feature request related to a problem or challenge?
Currently DataFusion operators communicate via a narrow API i.e. forwarding
SendableRecordBatchStreams. In some instances, in particular the ExecutionPlans operating on unbounded streams need to snapshot their state and co-ordinate with source operators. It'd be a powerful primitive to add aStateBackendconcept to theRuntimeEnvwhere users could then write operators to store adhoc durable state into a backend such as rocksdb.Realise this may not be useful for many use cases but RuntimeEnv does seem to have ability to plug in an object store registry as well as a catalog manager. This would be a crucial unlock to make stateful stream processing application with DataFusion.
If the current, API contains such a pathway already, would love to get pointers in the right direction.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response