Skip to content
Snippets Groups Projects
  • Xiangrui Meng's avatar
    df326695
    [SPARK-7157][SQL] add sampleBy to DataFrame · df326695
    Xiangrui Meng authored
    This was previously committed but then reverted due to test failures (see #6769).
    
    Author: Xiangrui Meng <meng@databricks.com>
    
    Closes #7755 from rxin/SPARK-7157 and squashes the following commits:
    
    fbf9044 [Xiangrui Meng] fix python test
    542bd37 [Xiangrui Meng] update test
    604fe6d [Xiangrui Meng] Merge remote-tracking branch 'apache/master' into SPARK-7157
    f051afd [Xiangrui Meng] use udf instead of building expression
    f4e9425 [Xiangrui Meng] Merge remote-tracking branch 'apache/master' into SPARK-7157
    8fb990b [Xiangrui Meng] Merge remote-tracking branch 'apache/master' into SPARK-7157
    103beb3 [Xiangrui Meng] add Java-friendly sampleBy
    991f26f [Xiangrui Meng] fix seed
    4a14834 [Xiangrui Meng] move sampleBy to stat
    832f7cc [Xiangrui Meng] add sampleBy to DataFrame
    df326695
    History
    [SPARK-7157][SQL] add sampleBy to DataFrame
    Xiangrui Meng authored
    This was previously committed but then reverted due to test failures (see #6769).
    
    Author: Xiangrui Meng <meng@databricks.com>
    
    Closes #7755 from rxin/SPARK-7157 and squashes the following commits:
    
    fbf9044 [Xiangrui Meng] fix python test
    542bd37 [Xiangrui Meng] update test
    604fe6d [Xiangrui Meng] Merge remote-tracking branch 'apache/master' into SPARK-7157
    f051afd [Xiangrui Meng] use udf instead of building expression
    f4e9425 [Xiangrui Meng] Merge remote-tracking branch 'apache/master' into SPARK-7157
    8fb990b [Xiangrui Meng] Merge remote-tracking branch 'apache/master' into SPARK-7157
    103beb3 [Xiangrui Meng] add Java-friendly sampleBy
    991f26f [Xiangrui Meng] fix seed
    4a14834 [Xiangrui Meng] move sampleBy to stat
    832f7cc [Xiangrui Meng] add sampleBy to DataFrame