HeartSaVioR commented on code in PR #47978: URL: https://github.com/apache/spark/pull/47978#discussion_r1746663122
########## sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/state/StatePartitionReader.scala: ########## @@ -166,16 +184,22 @@ class StatePartitionReader( stateVariableInfoOpt match { case Some(stateVarInfo) => val stateVarType = stateVarInfo.stateVariableType - val hasTTLEnabled = stateVarInfo.ttlEnabled Review Comment: As commented in other comment thread, I'm OK with this change, but let's see how we could deal with TTL in general. We can defer the decision till we are seeing a full picture of this (among state types). -- 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