Skip to main content

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.

Try the sample dataset

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. iot

IOT sample dataset config

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?)

IOT sample dataset config

Click Next button. You will review the source configuration. Click Create the source button

IOT sample dataset confirm

A message will be shown the source is created successfully.

IOT sample dataset confirm

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. iot)

Click iot stream

The query will be generated automatically: SELECT * FROM iot Click the RUN QUERY button (or press Ctrl+Enter) to run the query.

Run query

The streaming SQL willl keep showing latest results in the UI.

Run query

You can switch to the VISUALIZATION tab to view the streaming chart of the data.

Run query