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

toDF column rename does not work when columns contain '.'

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.1, 1.4.0
    • Component/s: SQL
    • Labels:
      None
    • Target Version/s:

      Description

        test("rename nested groupby") {
          val df = Seq((1,(1,1))).toDF()
      
          checkAnswer(
            df.groupBy("_1").agg(col("_1"), sum("_2._1")).toDF("key", "total"),
            Row(1, 1) :: Nil)
        }
      

        Attachments

          Activity

            People

            • Assignee:
              marmbrus Michael Armbrust
              Reporter:
              marmbrus Michael Armbrust
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: