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

Improve suggested candidates for unresolved attribute

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.5.0
    • SQL
    • None

    Description

      It is related to https://github.com/apache/spark/pull/41038 . Given a column list cols

      1. group by qualifiers, if only one group, strip qualifier and only keep the column name
      2. in each group,  group by the qualifiers excluding table name, if only one group, strip qualifiers excluding table name, only keep table name + column name
      3. sort the result by similarity with the base string

      Attachments

        Activity

          People

            maxgekk Max Gekk
            maxgekk Max Gekk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: