You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Vlad Rozov (JIRA)" <ji...@apache.org> on 2018/05/22 17:12:00 UTC

[jira] [Created] (DRILL-6435) MappingSet is stateful, so it can't be shared between threads

Vlad Rozov created DRILL-6435:
---------------------------------

             Summary: MappingSet is stateful, so it can't be shared between threads
                 Key: DRILL-6435
                 URL: https://issues.apache.org/jira/browse/DRILL-6435
             Project: Apache Drill
          Issue Type: Bug
            Reporter: Vlad Rozov
            Assignee: Vlad Rozov


There are several instances where static {{MappingSet}} instances are used (for example {{NestedLoopJoinBatch}} and {{BaseSortWrapper}}). This causes instance reuse across threads when queries are executed concurrently. As {{MappingSet}} is a stateful class with visitor design pattern, such reuse causes invalid state.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)