HyukjinKwon commented on a change in pull request #25684:
[SPARK-28980][CORE][SQL][STREAMING][MLLIB] Remove most items deprecated in
Spark 2.2.0 or earlier, for Spark 3
URL: https://github.com/apache/spark/pull/25684#discussion_r321565529
##########
File path: python/pyspark/ml/tests/test_image.py
##########
@@ -74,17 +74,14 @@ def setUpClass(cls):
super(ImageFileFormatOnHiveContextTest, cls).setUpClass()
cls.hive_available = True
# Note that here we enable Hive's support.
- cls.spark = None
try:
- cls.sc._jvm.org.apache.hadoop.hive.conf.HiveConf()
+ cls.spark = SparkSession.builder.enableHiveSupport().getOrCreate()
Review comment:
@srowen, I think actually you can remove this whole class,
`ImageFileFormatOnHiveContextTest`.
This test was added as of
[SPARK-22651](https://jira.apache.org/jira/browse/SPARK-22651) to test
`ImageSchema.readImages` but it was removed as of
[SPARK-25382](https://jira.apache.org/jira/browse/SPARK-25382).
So, I think it's fine to remove this whole test class.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]