Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
The ThreadLocalState is tied to an executor and, on creation, creates a state for every thread in the executor. In order to quickly access a particular thread's state we need a way to get a thread index (the index of the thread in the executor). Historically we used ThreadIndexer and this JIRA introduces a new approach using thread local.
Similar to the ThreadIndexer this thread local state concept will fail when the capacity is resized during a run.
Similar to the ThreadIndexer this concept won't work too well for serial execution until ARROW-15732 is resolved.
Attachments
Issue Links
- links to