Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-25075 Build and test Spark against Scala 2.13
  3. SPARK-35431

Sort elements generated by collect_set in SQLQueryTestSuite

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.2, 3.2.0
    • Fix Version/s: 3.1.2, 3.2.0
    • Component/s: SQL, Tests
    • Labels:
      None

      Description

      To pass subquery/scalar-subquery/scalar-subquery-select.sql (SQLQueryTestSuite) in Scala v2.13, this ticket proposes to change the aggregate expr of a test query in the file from collect_set(...) to sort_array(collect_set(...)) because collect_set depends on the mutable.HashSet implementation and elements in the set are printed in a different order in Scala v2.12/v2.13.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              maropu Takeshi Yamamuro
              Reporter:
              maropu Takeshi Yamamuro

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment