You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "zenglinxi (JIRA)" <ji...@apache.org> on 2018/06/20 13:15:00 UTC
[jira] [Created] (SPARK-24607) Distribute by rand() can lead to
data inconsistency
zenglinxi created SPARK-24607:
---------------------------------
Summary: Distribute by rand() can lead to data inconsistency
Key: SPARK-24607
URL: https://issues.apache.org/jira/browse/SPARK-24607
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 2.3.1, 2.2.0
Reporter: zenglinxi
Noticed the following queries can give different results:
{code:java}
select count(*) from tbl;
select count(*) from (select * from tbl distribute by rand()) a;{code}
this issue was first reported by someone using kylin for building cube with hiveSQL which include distribute by rand, I think it's also an hidden serious problem in sparksql.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org