Github user tgravescs commented on the issue:

    https://github.com/apache/spark/pull/15297
  
    Ok so are you saying this skewed join implementation doesn't apply to other 
dataframe operations, something like:
    
     val df_pixels = sqlContext.read.parquet("somefile")
        val df_pixels_renamed = df_pixels.withColumnRenamed("photo_id", 
"pixels_photo_id")
        val df_meta = sqlContext.read.parquet("somemeta")
        val df = df_meta.as("meta").join(df_pixels_renamed, $"meta.photo_id" 
=== $"pixels_photo_id", "inner").drop("pixels_photo_id")
        df.write.parquet("someoutputfile")
    
    Where normally spark.sql.shuffle.partitions=X would configure the number of 
output files.  So in my example if I set spark.sql.shuffle.partitions=200 but 
skewed join use 210, what happens, how many output files would I get?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to