[ https://issues.apache.org/jira/browse/HIVE-21597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16814231#comment-16814231 ]
Prasanth Jayachandran commented on HIVE-21597: ---------------------------------------------- 3 small changes * Validates trigger during create/alter * Includes log message for HIVE-21594 * Improved the exception error message when kill query fails [~daijy] can you please review since you have more context on the issues? > WM trigger validation should happen at the time of create or alter > ------------------------------------------------------------------ > > Key: HIVE-21597 > URL: https://issues.apache.org/jira/browse/HIVE-21597 > Project: Hive > Issue Type: Bug > Affects Versions: 4.0.0, 3.2.0 > Reporter: Prasanth Jayachandran > Assignee: Prasanth Jayachandran > Priority: Major > Attachments: HIVE-21597.1.patch > > > When a query guardrail trigger is created the trigger expression is not > validated immediately upon creation or altering the trigger. Instead, it gets > validated at the start of HS2 which could fail resource plans from being > applied correctly. The trigger expression validation should happen in > DDLTask. -- This message was sent by Atlassian JIRA (v7.6.3#76005)