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

Override toString in LateralColumnAliasReference

    XMLWordPrintableJSON

Details

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

    Description

      select id + 1 as a1, a1 + 2 as a3 from range(10);
      

      Before:

      Project [(id#2L + 1) AS a1#0, (lateralAliasReference('a1, a1, 'a1) + 2) AS a3#1]
      +- Range (0, 10, step=1, splits=None)
      

      After:

      Project [(id#2L + 1) AS a1#0, (lateralAliasReference(a1) + 2) AS a3#1]
      +- Range (0, 10, step=1, splits=None)
      

      Attachments

        Activity

          People

            yumwang Yuming Wang
            yumwang Yuming Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: