Skip to content

Commit e678ec8

Browse files
authored
Revert "Backport of 90474 - Fix thread-safety race condition in static extractor"
1 parent d6bcd47 commit e678ec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Storages/HivePartitioningUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ static auto makeExtractor()
3434

3535
HivePartitioningKeysAndValues parseHivePartitioningKeysAndValues(const String & path)
3636
{
37-
thread_local auto extractor = makeExtractor();
37+
static auto extractor = makeExtractor();
3838

3939
HivePartitioningKeysAndValues key_values;
4040

0 commit comments

Comments
 (0)