Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into sc-execute-thread
  • Loading branch information
juliuszsompolski committed Jul 14, 2023
commit aa4093ceee3ccc7289208b99e9899e9003a0d96f
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ case class SessionHolder(userId: String, sessionId: String, session: SparkSessio
// foreachBatch() in Streaming. Lazy since most sessions don't need it.
private lazy val dataFrameCache: ConcurrentMap[String, DataFrame] = new ConcurrentHashMap()

// Mapping from id to StreamingQueryListener. Used for methods like removeListener() in
// StreamingQueryManager.
private lazy val listenerCache: ConcurrentMap[String, StreamingQueryListener] =
new ConcurrentHashMap()

private[connect] def createExecuteHolder(request: proto.ExecutePlanRequest): ExecuteHolder = {
val operationId = UUID.randomUUID().toString
val executePlanHolder = new ExecuteHolder(request, operationId, this)
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.