Skip to content
Snippets Groups Projects
  • Liang-Chi Hsieh's avatar
    ae61f187
    [SPARK-22206][SQL][SPARKR] gapply in R can't work on empty grouping columns · ae61f187
    Liang-Chi Hsieh authored
    ## What changes were proposed in this pull request?
    
    Looks like `FlatMapGroupsInRExec.requiredChildDistribution` didn't consider empty grouping attributes. It should be a problem when running `EnsureRequirements` and `gapply` in R can't work on empty grouping columns.
    
    ## How was this patch tested?
    
    Added test.
    
    Author: Liang-Chi Hsieh <viirya@gmail.com>
    
    Closes #19436 from viirya/fix-flatmapinr-distribution.
    ae61f187
    History
    [SPARK-22206][SQL][SPARKR] gapply in R can't work on empty grouping columns
    Liang-Chi Hsieh authored
    ## What changes were proposed in this pull request?
    
    Looks like `FlatMapGroupsInRExec.requiredChildDistribution` didn't consider empty grouping attributes. It should be a problem when running `EnsureRequirements` and `gapply` in R can't work on empty grouping columns.
    
    ## How was this patch tested?
    
    Added test.
    
    Author: Liang-Chi Hsieh <viirya@gmail.com>
    
    Closes #19436 from viirya/fix-flatmapinr-distribution.