anishshri-db commented on code in PR #48401:
URL: https://github.com/apache/spark/pull/48401#discussion_r1833570949
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StatefulProcessorHandleImpl.scala:
##########
@@ -372,10 +392,16 @@ class DriverStatefulProcessorHandleImpl(timeMode:
TimeMode, keyExprEnc: Expressi
private def addTimerColFamily(): Unit = {
val stateName = TimerStateUtils.getTimerStateVarName(timeMode.toString)
+ val secIndexColFamilyName =
TimerStateUtils.getSecIndexColFamilyName(timeMode.toString)
val timerEncoder = new TimerKeyEncoder(keyExprEnc)
- val colFamilySchema = StateStoreColumnFamilySchemaUtils.
+ val colFamilySchema = schemaUtils.
getTimerStateSchema(stateName, timerEncoder.schemaForKeyRow,
timerEncoder.schemaForValueRow)
+ val secIndexColFamilySchema = schemaUtils.
+ getTimerStateSchemaForSecIndex(secIndexColFamilyName,
Review Comment:
nit: move dot on this line ?
--
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]