Skip to main content
In this recipe we’ll learn how to use the Star-tree index. To understand how this recipe processes data, examine the commands executed in the Makefile.

Makefile

Run this recipe using make.
This will build up the infrastructure: Pinot and Kafka, create the tables, and produce streaming data. Three tables will be generated:
  • webtraffic - a real-time table with any Pinot indexes.
  • webstraffic_inverted - a real-time table with an inverted index on the columns: country, browserType, and deviceBrand.
  • webtraffic_startree - a real-time table with a startree index.
Open your browser to the Pinot console and execute the SQL statements below.
Try changing FROM webtraffic to FROM webtraffic_inverted or FROM webtraffic_stree

Clean up

Troubleshooting

To clean up old Docker installations that may be interfering with your testing of this recipe, run the following command: