Uh oh!
There was an error while loading. Please reload this page.
[SPARK-22833][EXAMPLE] Improvement SparkHive Scala Examples - #20081
[SPARK-22833][EXAMPLE] Improvement SparkHive Scala Examples#20081cloud-fan wants to merge 1 commit into
Conversation
cloud-fan
commented
Dec 26, 2017
chetkhatri
commented
Dec 26, 2017
@cloud-fan Thanks for PR |
chetkhatri
commented
Dec 26, 2017
@cloud-fan spark.sql.files.maxRecordsPerFile didn't worked out when i was working with mine 30 TB of Spark Hive workload whereas repartition and coalesce made sense. |
cloud-fan
commented
Dec 26, 2017
Well, that's really an undocumented feature... Can you submit a PR to update the description of
Yea I know, but that's not accurate. It assumes each task would output one file, which is not true if |
HyukjinKwon
commented
Dec 26, 2017
FYI, there is a JIRA for a doc about |
SparkQA
commented
Dec 26, 2017
Test build #85392 has finished for PR 20081 at commit
|
chetkhatri
commented
Dec 26, 2017
@cloud-fan@srowen I am good with changes proposed. please do merge. |
gatorsmile
commented
Dec 26, 2017
Thanks! Merged to master. |
What changes were proposed in this pull request?
Some improvements:
spark.sql.parquet.writeLegacyFormat. This config was introduced by [SPARK-10400] [SQL] Renames SQLConf.PARQUET_FOLLOW_PARQUET_FORMAT_SPEC #8566 and has nothing to do with Hive.repartitionandcoalesceexample. These 2 are not Hive specific, we should put them in a different example file. BTW they can't accurately control the number of output files,spark.sql.files.maxRecordsPerFilealso controls it.How was this patch tested?
N/A