Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-30791

Dataframe add sameResult and sementicHash method

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: ML, SQL
    • Labels:
      None
    • Target Version/s:

      Description

      Sometimes, we want to check whether two dataframes are the same.

      There is already an internal API like:

      df1.queryExecution.analyzed.sameResult(...)
      df1.queryExecution.analyzed.semanticHash()

      We can make a public API for this:

      Like:

      df1.sameSemantic(df2) // return true if dataframe has the same semantic
      df1.semanticHash() // return a semantic hashcode
      

      CC Wenchen Fan Xiangrui Meng Liang Zhang

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                liangz Liang Zhang
                Reporter:
                weichenxu123 Weichen Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: