Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-699

storm-jdbc should support customer insert queries.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.0
    • 0.10.0
    • storm-jdbc
    • None

    Description

      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.

      Attachments

        Activity

          People

            parth.brahmbhatt Parth Brahmbhatt
            parth.brahmbhatt Parth Brahmbhatt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: