Created 05-20-2016 04:03 AM
Like hbase coprocessors does phoenix have the ability to create one which would essentially look like a sql create trigger statement. Maybe I should change this to idea if it doesn't exist.
Created 05-20-2016 06:47 AM
We already have a similar idea logged : https://issues.apache.org/jira/browse/PHOENIX-932 But how to implement that it's still a question.
Created 05-20-2016 04:24 AM
@Sunile Manjee Could you give us an example how it's supposed to work?
Created 05-20-2016 04:41 AM
Just similar RDBMS ddl trigger statement:
CREATE [ OR REPLACE ] TRIGGER trigger_name BEFORE INSERT ON table_name [ FOR EACH ROW ] DECLARE -- variable declarations BEGIN -- trigger code EXCEPTION WHEN ... -- exception handling END;
However the semantics would be for hbase coprocessor. For example the trigger or coprocessing i want to do pre or post PUT.
Created 05-20-2016 06:47 AM
We already have a similar idea logged : https://issues.apache.org/jira/browse/PHOENIX-932 But how to implement that it's still a question.