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

Infinite loop in DataFrame.sortWithinPartitions(String, String*)

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.0, 2.0.0
    • SQL
    • None

    Description

      The String overload of DataFrame.sortWithinPartitions calls itself when it should call the Column overload, causing an infinite loop:

      Exception in thread "main" java.lang.StackOverflowError
      	at org.apache.spark.sql.DataFrame.sortWithinPartitions(DataFrame.scala:612)
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ankurd Ankur Dave
            ankurd Ankur Dave
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment