Github user mengxr commented on a diff in the pull request:

    https://github.com/apache/spark/pull/9595#discussion_r50215667
  
    --- Diff: 
mllib/src/test/scala/org/apache/spark/ml/source/libsvm/LibSVMRelationSuite.scala
 ---
    @@ -79,4 +79,23 @@ class LibSVMRelationSuite extends SparkFunSuite with 
MLlibTestSparkContext {
         val v = row1.getAs[SparseVector](1)
         assert(v == Vectors.sparse(100, Seq((0, 1.0), (2, 2.0), (4, 3.0))))
       }
    +
    +  test("write libsvm data and read it again") {
    +    val df = sqlContext.read.format("libsvm").load(path)
    +    val writepath = path + "_2"
    +    df.write.save(writepath)
    --- End diff --
    
    Could you help check why it passed tests? It could be a Spark SQL 
feature/bug, e.g., it forces using Parquet format when there are Parquet files 
on the input path.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to