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

Reduce the number of generated mutable states

Rank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

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

    Description

      A large number of mutable states can cause a error during code generation due to reaching the constant pool limit. There is an ongoing effort on SPARK-18016 to fix the problem, nonetheless we can also alleviate it avoiding to create a global variables when they are not needed.

      Therefore I am creating this umbrella ticket to track the elimination of usage of global variables where not needed. This is not a duplicate or an alternative to SPARK-18016: this is a complementary effort which can help together with it to support wider datasets.

      Attachments

        Activity

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

          People

            mgaido Marco Gaido
            mgaido Marco Gaido
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment