[
https://issues.apache.org/jira/browse/HIVE-17884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16218092#comment-16218092
]
Harish Jaiprakash commented on HIVE-17884:
------------------------------------------
Thanks [~prasanth_j].
For show/describe, the current though process is just expose raw data using
information schema for now. And at the end enhance show/describe to display in
some formatted fashion.
I'll fix the typos, and add the getTriggersForResourcePlan api in
IMetaStoreClient.
It makes sense to support more data types in expression parser, I'll add bytes
and interval into it.
> 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)