y1”-> fraction, “key2”-> fraction, …, “keyn”->
> fraction).
>
> I have a question is that why stratified sampling scales poorly with
> different sampling fractions in this context? meanwhile simple random
> sampling scales well with different sampling fractions (I ran experime
m(x => x.sampleByKeyExact(false,
fractions))
where fractions = Map(“key1”-> fraction, “key2”-> fraction, …, “keyn”->
fraction).
I have a question is that why stratified sampling scales poorly with
different sampling fractions in this context? meanwhile simple random
sampling scales well