You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/01/19 05:10:55 UTC

[GitHub] [spark] cloud-fan commented on a change in pull request #35237: [SPARK-37951][MLLIB][K8S] Move test file from ../data/ to corresponding module's resource folder

cloud-fan commented on a change in pull request #35237:
URL: https://github.com/apache/spark/pull/35237#discussion_r787354055



##########
File path: python/pyspark/ml/tests/test_image.py
##########
@@ -24,7 +24,7 @@
 
 class ImageFileFormatTest(SparkSessionTestCase):
     def test_read_images(self):
-        data_path = "data/mllib/images/origin/kittens"
+        data_path = "python/test_support/images/kittens"

Review comment:
       does pyspark have the test resource directory? If not I think it's fine to reuse the data files in `/data/mllib/images/...`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org