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

Add config flag to control before of JSON partial results parsing in SPARK-40646

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete CommentsDelete
    XMLWordPrintableJSON

Details

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

    Description

      This is a follow-up for https://issues.apache.org/jira/browse/SPARK-40646.

       

      It was observed in internal benchmarks that the JSON partial results parsing can be 30% slower compared to parsing without the patch. I could not find a regression and the Apache Spark JSON benchmark results are very similar with and without SPARK-40646.

      However, I would still like to add a config flag to enable/disable the feature in the case the regression is observed in users' queries.

      Benchmark results are attached below.

       

      Attachments

        Issue Links

        Activity

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

          People

            ivan.sadikov Ivan Sadikov Assign to me
            sadikovi Ivan Sadikov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment