You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Weichen Xu (Jira)" <ji...@apache.org> on 2020/02/11 14:14:00 UTC
[jira] [Assigned] (SPARK-30791) Dataframe add sameResult and
sementicHash method
[ https://issues.apache.org/jira/browse/SPARK-30791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Weichen Xu reassigned SPARK-30791:
----------------------------------
Assignee: Liang Zhang
> Dataframe add sameResult and sementicHash method
> ------------------------------------------------
>
> Key: SPARK-30791
> URL: https://issues.apache.org/jira/browse/SPARK-30791
> Project: Spark
> Issue Type: New Feature
> Components: ML, SQL
> Affects Versions: 3.0.0
> Reporter: Weichen Xu
> Assignee: Liang Zhang
> Priority: Major
>
> Sometimes, we want to check whether two dataframe is the same.
> There is already an internal API like:
> {code:java}
> df1.queryExecution.logical.sameResult(...) {code}
> We can make a public API for this:
> Like:
> {code:java}
> df1.sameResult(df2) // return true if dataframe will return the same result
> df1.semanticHash // return a semantic hashcode, if the two dataframe will return the same result, their semantic hashcode should be the same.{code}
> CC [~cloud_fan] [~mengxr] [~liangz]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org