You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Fu Chen (Jira)" <ji...@apache.org> on 2021/12/07 09:23:00 UTC
[jira] [Commented] (SPARK-37566) The sampling job will lead to the wrong statistics
[ https://issues.apache.org/jira/browse/SPARK-37566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17454497#comment-17454497 ]
Fu Chen commented on SPARK-37566:
---------------------------------
The expected value of `number of output rows` is 10
> The sampling job will lead to the wrong statistics
> --------------------------------------------------
>
> Key: SPARK-37566
> URL: https://issues.apache.org/jira/browse/SPARK-37566
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.2.0
> Reporter: Fu Chen
> Priority: Minor
> Attachments: 截屏2021-12-07 下午5.17.12.png
>
>
> code for reproduce
> {code:java}
> spark.range(0, 10)
> .repartitionByRange(10, col("id"))
> .show() {code}
> !截屏2021-12-07 下午5.17.12.png!
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org