Quickstart with built-in sample data
Timeplus provides a built-in data source to generate streaming data for some typical use cases.
Create the data source
Login the Timeplus Cloud. Choose the workspace if you have access to more than 1 workspace. Go to the SOURCES page and click the Try our sample dataset button on the top-right corner. You will create the first source.
By default, the iot_data template will be used. You can choose a Source Name, e.g.
iot. The Source Description is optional. Scroll down. Leave the Create a stream with the name enabled as default, and specify a stream name, e.g.
Click Next. You will preview the sample data. Feel free to click Next button again. Optionally, you can click the image button near the TIME column and enable the SET AS TIMESTAMP COLUMN option. (Why you need to set a timestamp column?)
Click Next button. You will review the source configuration. Click Create the source button
A message will be shown the source is created successfully.
Explore the streaming data
Open the QUERY page. You will see the newly created stream under the query editor. Click on the name(e.g.
The query will be generated automatically:
SELECT * FROM iot Click the RUN QUERY button (or press Ctrl+Enter) to run the query.
The streaming SQL willl keep showing latest results in the UI.
You can switch to the VISUALIZATION tab to view the streaming chart of the data.