anishshri-db commented on code in PR #45991: URL: https://github.com/apache/spark/pull/45991#discussion_r1570090219
########## sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/TTLState.scala: ########## @@ -99,6 +98,16 @@ abstract class SingleKeyTTLStateImpl( store.createColFamilyIfAbsent(ttlColumnFamilyName, TTL_KEY_ROW_SCHEMA, TTL_VALUE_ROW_SCHEMA, RangeKeyScanStateEncoderSpec(TTL_KEY_ROW_SCHEMA, Seq(0)), isInternal = true) + def clearTTLState(): Unit = { Review Comment: nit: lets also add a small function comment here ? -- 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