anishshri-db commented on code in PR #45674: URL: https://github.com/apache/spark/pull/45674#discussion_r1546663211
########## common/utils/src/main/resources/error/error-classes.json: ########## @@ -3565,6 +3571,19 @@ ], "sqlState" : "42802" }, + "STATEFUL_PROCESSOR_CANNOT_USE_TTL_DURATION_IN_EVENT_TIME_TTL_MODE" : { + "message" : [ + "TTL duration is not allowed for event time ttl expiration on State store operation=<operationType> on state=<stateName>.", + "Use absolute expiration time instead." + ], + "sqlState" : "42802" + }, + "STATEFUL_PROCESSOR_TTL_CANNOT_BE_NEGATIVE" : { Review Comment: nit: `TTL_VALUE_CANNOT_BE` ? -- 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