Skip to content

Commit

Permalink
GH-3127: Enabled parquet.hadoop.vectored.io.enabled by default (#3128)
Browse files Browse the repository at this point in the history
  • Loading branch information
dongjoon-hyun authored Jan 21, 2025
1 parent b7058f5 commit 8127cc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion parquet-hadoop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ If `false`, key material is stored in separate new files, created in the same fo
**Description:** Flag to enable use of the FileSystem Vector IO API on Hadoop releases which support the feature.
If `true` then an attempt will be made to dynamically load the relevant classes;
if not found then the library will use the classic non-vectored reads: it is safe to enable this option on older releases.
**Default value:** `false`
**Default value:** `true`

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public class ParquetInputFormat<T> extends FileInputFormat<Void, T> {
/**
* Default value of parquet.hadoop.vectored.io.enabled is {@value}.
*/
public static final boolean HADOOP_VECTORED_IO_DEFAULT = false;
public static final boolean HADOOP_VECTORED_IO_DEFAULT = true;

public static void setTaskSideMetaData(Job job, boolean taskSideMetadata) {
ContextUtil.getConfiguration(job).setBoolean(TASK_SIDE_METADATA, taskSideMetadata);
Expand Down

0 comments on commit 8127cc3

Please sign in to comment.