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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.2, 3.2.0
    • 3.1.2, 3.2.0
    • SQL, Tests
    • 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

              maropu Takeshi Yamamuro
              maropu Takeshi Yamamuro
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: