[ https://issues.apache.org/jira/browse/SPARK-38271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-38271: ---------------------------------- Labels: correctness (was: ) > PoissonSampler may output more rows than MaxRows > ------------------------------------------------ > > Key: SPARK-38271 > URL: https://issues.apache.org/jira/browse/SPARK-38271 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 3.0.3, 3.1.2, 3.2.1, 3.3.0 > Reporter: Ruifeng Zheng > Assignee: Ruifeng Zheng > Priority: Major > Labels: correctness > Fix For: 3.3.0, 3.2.2 > > > {code:java} > scala> val df = spark.range(0, 1000) > df: org.apache.spark.sql.Dataset[Long] = [id: bigint] > scala> df.count > res0: Long = 1000 > scala> df.sample(true, 0.999999, 10).count > res1: Long = 1004 > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org