Parth Brahmbhatt created STORM-699:
--------------------------------------

             Summary: storm-jdbc should support customer insert queries.
                 Key: STORM-699
                 URL: https://issues.apache.org/jira/browse/STORM-699
             Project: Apache Storm
          Issue Type: Improvement
    Affects Versions: 0.10.0
            Reporter: Parth Brahmbhatt
            Assignee: Parth Brahmbhatt
            Priority: Minor


Currently storm-jdbc insert bolt/state only supports to specify a table name 
and constructs a query of the form "insert into tablename values(?,?,?)" based 
on table's schema. This fails to support use cases like "insert into as select 
* from" or special cases like Phoenix that has a jdbc driver but only supports 
"upsert into". 

We should add a way so the users can specify their own custom query for the 
insert bolt.  This was already pointed out by [~revans2] during the PR review 
and we now have concrete cases that will be benefited by this feature.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to