Skip to content

Commit 5eaf14f

Browse files
committed
update
1 parent df9777b commit 5eaf14f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

parquet-column/src/main/java/org/apache/parquet/column/ParquetProperties.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ public class ParquetProperties {
6969

7070
public static final boolean DEFAULT_PAGE_WRITE_CHECKSUM_ENABLED = true;
7171

72+
/**
73+
* @deprecated This shared instance can cause thread safety issues when used by multiple builders concurrently.
74+
* Use {@code new DefaultValuesWriterFactory()} instead to create individual instances.
75+
*/
76+
@Deprecated
7277
public static final ValuesWriterFactory DEFAULT_VALUES_WRITER_FACTORY = new DefaultValuesWriterFactory();
7378

7479
private static final int MIN_SLAB_SIZE = 64;

0 commit comments

Comments
 (0)