SBT test does not work for spark test

后端 未结 5 783
误落风尘
误落风尘 2021-01-04 21:17

I have a simple spark function to test DF windowing:

    import org.apache.spark.sql.{DataFrame, SparkSession}

    object ScratchPad {

      def main(args:         


        
5条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-04 21:56

    Adding this line in the test class to disable hive worked for me

          override implicit def enableHiveSupport: Boolean = false
    

    Got it here:

    https://github.com/holdenk/spark-testing-base/issues/148

提交回复
热议问题