Description
ExecMapper contain static states, static variable "done" for example. Spark executor may execute multi tasks concurrently, ExecMapper static state updated by one task would influence the logic of another task, which may lead to unpredictable result. To reproduce, execute
SELECT COUNT(*) FROM TEST TABLESAMPLE(1 ROWS) s
,
TEST should be a table with several blocks source data.