ericm-db commented on PR #50611: URL: https://github.com/apache/spark/pull/50611#issuecomment-2811867503
The crux of the issue is that in a test we do the following: ``` override def init( outputMode: OutputMode, timeMode: TimeMode): Unit = { _mapState = getHandle .getMapState("mapState", Encoders.STRING, Encoders.scalaInt, ttlConfig) .asInstanceOf[MapStateImplWithTTL[String, Int]] } ``` where we fetch MapState and cast it to MapStateImplWithTTL. MapStateImplWithTTL is not a private class, so this is technically allowed behavior, but since InvalidHandleMapState does not inherit or extend the Impl class, this throws an error. -- 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