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

[Storm SQL] Trident mode: back to code generate and compile Trident topology

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0, 1.1.0
    • Component/s: storm-sql
    • Labels:
      None

      Description

      Now Storm SQL just converts Rex to code block and pass to Evaluation~ class so that each class can evaluate the code block in runtime.

      This change made the code greatly simplified, but I expect that it is not same as performant as compiling and execute natively.

      Linq4j in Calcite provides utility methods to make the code nicely. It's going to really really more verbose, but really better than having string concatenated code block since it doesn't have any guards.

      So let's convert it back to code generation, but more elegant.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kabhwan Jungtaek Lim
                Reporter:
                kabhwan Jungtaek Lim
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m