wayneguow commented on code in PR #47327: URL: https://github.com/apache/spark/pull/47327#discussion_r1675756241
########## sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryExecutionErrors.scala: ########## @@ -1750,11 +1750,10 @@ private[sql] object QueryExecutionErrors extends QueryErrorsBase with ExecutionE } def invalidStreamingOutputModeError( Review Comment: Currently, there is no way to add test cases related to this error class. Because in the two places(`StateStoreSaveExec` and `SessionWindowStateStoreSaveExec`) where exceptions are thrown, output mode param is already of `OutputMode` type, and an empty assert check is added to the run method. -- 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]
