anishshri-db commented on code in PR #47524: URL: https://github.com/apache/spark/pull/47524#discussion_r1705993422
########## sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamExecution.scala: ########## @@ -703,6 +706,24 @@ object StreamExecution { "py4j.protocol.Py4JJavaError: An error occurred while calling" + s"((.|\\r\\n|\\r|\\n)*)(${IO_EXCEPTION_NAMES.mkString("|")})").r + private val columnFamilySchemas: + ConcurrentHashMap[UUID, Map[String, StateStoreColFamilySchema]] = new ConcurrentHashMap + + def updateColumnFamilySchemas( + queryId: UUID, + newSchemas: Map[String, StateStoreColFamilySchema]): Unit = { + columnFamilySchemas.put(queryId, newSchemas) + } + + def getColumnFamilySchemas( + queryId: UUID): Map[String, StateStoreColFamilySchema] = { Review Comment: Could probably fit in the same line above ? -- 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-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org