Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/src/main/java/org/apache/iceberg/TableProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ private TableProperties() {
public static final long SPLIT_OPEN_FILE_COST_DEFAULT = 4 * 1024 * 1024; // 4MB

public static final String PARQUET_VECTORIZATION_ENABLED = "read.parquet.vectorization.enabled";
public static final boolean PARQUET_VECTORIZATION_ENABLED_DEFAULT = false;
public static final boolean PARQUET_VECTORIZATION_ENABLED_DEFAULT = true;

public static final String PARQUET_BATCH_SIZE = "read.parquet.vectorization.batch-size";
public static final int PARQUET_BATCH_SIZE_DEFAULT = 5000;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -451,9 +451,10 @@ public void testImportTableWithInt96Timestamp() throws IOException {
);
Table table = TABLES.create(schema, PartitionSpec.unpartitioned(), tableLocation);

// assign a custom metrics config
// assign a custom metrics config and disable vectorized reads
table.updateProperties()
.set(TableProperties.DEFAULT_WRITE_METRICS_MODE, "full")
.set(TableProperties.PARQUET_VECTORIZATION_ENABLED, "false")
.commit();

File stagingDir = temp.newFolder("staging-dir");
Expand Down