[
https://issues.apache.org/jira/browse/HIVE-17884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16217941#comment-16217941
]
Prasanth Jayachandran commented on HIVE-17884:
----------------------------------------------
Found some issue when trying out this patch and other RP patch
Hive.geAllResourcePlans() -> Hive.getAllResourcePlans()
Will this patch also support show triggers or will it be in a separate patch?
IMetaStoreClient.java is missing getTriggersForResourcePlan API (assuming
client will be allowed to retrieve Triggers independently without going via
getResourcePlan).
Hive.java is missing similar getTriggersForResourcePlan.
Looks good otherwise.
> Implement create, alter and drop workload management triggers.
> --------------------------------------------------------------
>
> Key: HIVE-17884
> URL: https://issues.apache.org/jira/browse/HIVE-17884
> Project: Hive
> Issue Type: Sub-task
> Reporter: Harish Jaiprakash
> Assignee: Harish Jaiprakash
> Attachments: HIVE-17884.01.patch
>
>
> Implement triggers for workload management:
> The commands to be implemented:
> CREATE TRIGGER `resourceplan_name`.`trigger_name` WHEN condition DO action;
> condition is a boolean expression: variable operator value types with 'AND'
> and 'OR' support.
> action is currently: KILL or MOVE TO pool;
> ALTER TRIGGER `plan_name`.`trigger_name` WHEN condition DO action;
> DROP TRIGGER `plan_name`.`trigger_name`;
> Also add WM_TRIGGERS to information schema.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)