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

Dataframe add sameResult and sementicHash method

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Done
    • 3.1.0
    • 3.1.0
    • ML, SQL
    • None

    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 cloud_fan mengxr liangz

       

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: