- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Can phoenix create coprocessors (triggers)?
- Labels:
-
Apache HBase
-
Apache Phoenix
Created 05-20-2016 04:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Sunile Manjee Could you give us an example how it's supposed to work?
Created 05-20-2016 04:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
