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

Remove column suggestion when the candidate list is empty for unresolved column/attribute/map key

    XMLWordPrintableJSON

Details

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

    Description

      For unresolved column, attribute or map key an error message might contain suggestions from the list. However, when the list is empty the error message looks incomplete:

      `[UNRESOLVED_COLUMN] A column or function parameter with name 'YrMo' cannot be resolved. Did you mean one of the following? []`

      This issue is to make final suggestion to show only if suggestion list is non empty.

      Attachments

        Activity

          People

            vli-databricks Vitalii Li
            vli-databricks Vitalii Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: