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

Weichen Xu resolved SPARK-30791.
--------------------------------
    Target Version/s: 3.0.0, 3.1.0
          Resolution: Done

Resolved by https://github.com/apache/spark/pull/27565

> 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 dataframes are the same.
> There is already an internal API like:
> {code:java}
> df1.queryExecution.analyzed.sameResult(...)
> df1.queryExecution.analyzed.semanticHash(){code}
> We can make a public API for this:
> Like:
> {code:scala}
> df1.sameSemantic(df2) // return true if dataframe has the same semantic
> df1.semanticHash() // return a semantic hashcode
> {code}
> CC [~cloud_fan] [~mengxr] [~liangz]
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to