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

Fix warnings and a failure in SparkR test cases with testthat version 1.0.1

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 2.0.0
    • Component/s: SparkR
    • Labels:
      None

      Description

      After upgrading "testthat" package to version 1.0.1, new warnings and a new failure were found in SparkR test cases:

      ```
      Warnings -----------------------------------------------------------------------
      1. multiple packages don't produce a warning (@test_client.R#35) - `not()` is deprecated.

      2. sparkJars sparkPackages as comma-separated strings (@test_context.R#141) - `not()` is deprecated.

      3. spark.survreg (@test_mllib.R#453) - `not()` is deprecated.

      4. date functions on a DataFrame (@test_sparkSQL.R#1199) - Deprecated: please use `expect_gt()` instead

      5. date functions on a DataFrame (@test_sparkSQL.R#1200) - Deprecated: please use `expect_gt()` instead

      6. date functions on a DataFrame (@test_sparkSQL.R#1201) - Deprecated: please use `expect_gt()` instead

      7. Method as.data.frame as a synonym for collect() (@test_sparkSQL.R#1899) - `not()` is deprecated.

      Failure: showDF() (@test_sparkSQL.R#1513) -----------------------------------
      `s` produced no output
      ```

      Changes in releases of testthat can be found at https://github.com/hadley/testthat/blob/master/NEWS.md

        Attachments

          Activity

            People

            • Assignee:
              sunrui Sun Rui
              Reporter:
              sunrui Sun Rui
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: