Skip to content

Conversation

@wypoon
Copy link
Contributor

@wypoon wypoon commented Oct 25, 2022

This is a port of #6026 to spark/v3.1.

This is not a direct port, as the 3.1 code base lags the 3.3 and 3.2 code base, but it is fairly straightforward.

@github-actions github-actions bot added the spark label Oct 25, 2022
Comment on lines +147 to +150
table
.updateProperties()
.set(TableProperties.PARQUET_VECTORIZATION_ENABLED, String.valueOf(vectorized))
.commit();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TableProperties.PARQUET_VECTORIZATION_ENABLED_DEFAULT changed from false to true since this code was written. Thus, before, we only set TableProperties.PARQUET_VECTORIZATION_ENABLED explicitly if vectorized is true, but since TableProperties.PARQUET_VECTORIZATION_ENABLED_DEFAULT changed to true, all the tests in this class have been running only with vectorized reads and not with non-vectorized reads at all!
This fixes that issue.

@wypoon
Copy link
Contributor Author

wypoon commented Oct 25, 2022

@flyrain @chenjunjiedada this is the port to 3.1.
cc @hililiwei since you are porting changes to 3.1.

Copy link
Contributor

@flyrain flyrain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1. Thanks @wypoon for the fix.

@flyrain flyrain merged commit 342d10b into apache:master Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants