hvanhovell commented on code in PR #48958:
URL: https://github.com/apache/spark/pull/48958#discussion_r1856983827


##########
sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/state/RocksDBStateStoreSuite.scala:
##########
@@ -105,7 +105,7 @@ class RocksDBStateStoreSuite extends 
StateStoreSuiteBase[RocksDBStateStoreProvid
 
       // Create state store in a task and get the RocksDBConf from the 
instantiated RocksDB instance
       val rocksDBConfInTask: RocksDBConf = 
testRDD.mapPartitionsWithStateStore[RocksDBConf](
-        spark.sqlContext, testStateInfo, testSchema, testSchema,
+        spark, testStateInfo, testSchema, testSchema,

Review Comment:
   Perhaps a follow-up should be to weed out all existing uses of SQLContext in 
the code base. There are a couple of user facing APIs that we can't change, but 
most of it should go.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to