Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-7253

JDBC thin driver: introduce streaming mode

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: jdbc, sql
    • Labels:
      None

      Description

      Should be done after IGNITE-6022. We should allow optional streaming mode for JDBC driver. In this mode only INSERTs without SELECT should be possible. All other DML operations should throw an exception.

      Design considerations:
      1) Add command SET STREAMING=1|ON|0|OFF which will enable or disable streaming for connection.
      2) Add command STREAMER FLUSH which will force data flush.
      3) Only INSERT without SELECT works, all other DML statements should throw an exception
      4) It should be possible to stream into several tables simultaneously (i.e. several streamers could be opened)
      5) Any DDL statement should force flush of all currently opened streamers.

        Attachments

        1. IGNITE_7253.patch
          117 kB
          Vladimir Ozerov

          Issue Links

            Activity

              People

              • Assignee:
                al.psc Alexander Paschenko
                Reporter:
                vozerov Vladimir Ozerov
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: