Run the Project, Play Some Data and View Results
Go to SAP HANA Streaming Development perspective. Click the drop down arrow next to the Run button and select the streaming server to run this project. You will be switched into the SAP HANA Streaming Run-Test perspective after you have deployed and ran the project.
MACHINEDATA to open it in the Stream View.
Note: You won’t see any data, because we haven’t loaded any data yet.
Now double-click on each of the other streams/windows to open them in the Stream View tool.
Click the Playback tab.
Click Select Project icon in the top right corner of the Playback window to connect the playback tool to the current project (if you had multiple projects running it would ask you to choose).
Click Select Playback File icon shown below to select the data file to use.
If you have not downloaded the playback data already, please download the
machinedata.csv file included in the prerequisites. In the Open dialogue window, change the file type to
machinedata.csv included in this tutorial and then click Open. You can also press Alt+o.
Click rec/ms. You want to control the playback speed so that you can watch things happen at a reasonable pace. Once it’s running you can speed it up or slow it down using the slider tool. Enter
0.005 in the rec/ms box.
Then click the Start Playback button with icon shown below.
Click each viewer tab to view the output from each stream/window.
Use manual input and event tracer tools
Click the Event Tracer tab to select it. Click on the Select Running Project button to connect to a running project. if you have multiple projects running, it would prompt you to choose one.
Click the Manual Input tab.
Click Select Stream to connect the manual input tool to the project.
Click on MACHINEDATA and then click OK.
Fill out input fields as shown in the picture. Use one of the following as the
MACHINEID since these are the existing values in the
"MACHINE_REF" table that you are using:
8HRT4WX2. You can alter the other values. Then click Publish button to send the event.
The colors in the Event Tracer (at the top of studio) diagram shows how each stream/window in the project is affected by the event you just sent. Double-click on each node to view the output generated by that node in response to the event in the Console.
Click the Stream View tab.
Find the entry that you submitted through Manual Input.
Either of the following tutorials may be done next:
- Tutorials: [Watch for Patterns of Events and Use the CCL Editor in SAP HANA Smart Data Streaming](coming soon)
- Tutorials: [Custom Flex Operators with Advanced CCL](coming soon)