[ 
https://issues.apache.org/jira/browse/SPARK-30847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wenchen Fan reassigned SPARK-30847:
-----------------------------------

    Assignee: Hyukjin Kwon

> Take productPrefix into account in MurmurHash3.productHash
> ----------------------------------------------------------
>
>                 Key: SPARK-30847
>                 URL: https://issues.apache.org/jira/browse/SPARK-30847
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.5, 3.0.0
>            Reporter: Hyukjin Kwon
>            Assignee: Hyukjin Kwon
>            Priority: Critical
>
> See the issue in https://github.com/scala/bug/issues/10495 and fix 
> https://github.com/scala/scala/pull/7648.
> Currently, different expressions with same children can produce the same hash 
> as below:
> {code}
> scala> spark.range(1).selectExpr("id - 
> 1").queryExecution.analyzed.semanticHash()
> res0: Int = -565572825
> scala> spark.range(1).selectExpr("id + 
> 1").queryExecution.analyzed.semanticHash()
> res1: Int = -565572825
> {code}
> The reason seems to be it doesn't take the product's class itself



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to