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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.3.0
    • 1.3.1, 1.4.0
    • SQL
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: