Prerequisites
Before you follow the steps in this tutorial, download Druid as described in Quickstart (local) and have it running on your local machine. You don’t need to load any data into the Druid cluster. You should be familiar with data querying in Druid. If you haven’t already, go through the Query data tutorial first.Load sample data
Load a sample dataset using INSERT and EXTERN functions. The EXTERN function lets you read external data or write to an external location.Load initial data
In the Druid web console, go to the Query view and run the following query:The resulting
append_tutorial datasource contains records for eight animals over two days.Append data
You can use the INSERT function to append data to the datasource without changing the existing data.Run the append query
In a new tab, run the following query to ingest and append data to the Druid adds rows for the subsequent days after
append_tutorial datasource:seahorse.Learn more
See the following topics for more information:- SQL-based ingestion reference for a reference on MSQ architecture.
- SQL-based ingestion query examples for example queries using the MSQ task engine.