diff --git a/velox/exec/Spill.cpp b/velox/exec/Spill.cpp index e4a96b8f4a45..b13f1454ee83 100644 --- a/velox/exec/Spill.cpp +++ b/velox/exec/Spill.cpp @@ -306,8 +306,8 @@ tsan_atomic& testingSpillPct() { return spillPct; } -tsan_atomic& testingSpillPoolRegExp() { - static tsan_atomic spillPoolRegExp{".*"}; +std::string testingSpillPoolRegExp() { + static std::string spillPoolRegExp{".*"}; return spillPoolRegExp; } } // namespace