Skip to content

DuckDB GlobalState should be passed by immutable reference #6632

@gatesn

Description

@gatesn

We do not have unique ownership of the global state, it should be passed by immutable reference and handle its own interior thread-safety / mutability.

To fix this, you will run into the problem of requiring a mutable ExecutionCtx. This shouldn't be global state anyway and we should just create one for each array exporter.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions