Last active
March 13, 2023 07:35
-
-
Save sadikovi/3fdf18040b4fad4c10ecd16e160cbe1b to your computer and use it in GitHub Desktop.
Spark Parquet writer v1/v2 settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sc.hadoopConfiguration.set("parquet.writer.version", "v1") // either "v1" or "v2" | |
// disable vectorized reading, does not support delta encoding | |
spark.conf.set("spark.sql.parquet.enableVectorizedReader", "false") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment