Pinot Data Explorer
Explore the data on our Pinot cluster
Once you have set up the Cluster, you can start exploring the data and the APIs using the Pinot Data Explorer.
The first screen that you'll see when you open the Pinot Data Explorer is the Cluster Manager. The Cluster Manager provides a UI to operate and manage your cluster.
Pinot Cluster Manager
If you want to view the contents of a server, click on its instance name. You'll then see the following:
To view the baseballStats table, click on its name, which will show the following screen:
From this screen, we can edit or delete the table, edit or adjust its schema, as well as several other operations.
For example, if we want to add yearID to the list of inverted indexes, click on Edit Table, add the extra column, and click Save:
Let us run some queries on the data in the Pinot cluster. Head over to Query Console to see the querying interface.
We can see our
baseballStatstable listed on the left (you will see
airlineStatsif you used the streaming or the hybrid quick start). Click on the table name to display all the names along with the data types of the columns of the table.
You can also execute a sample query
select * from baseballStats limit 10by typing it in the text box and clicking the Run Query button.
Cmd + Entercan also be used to run the query when focused on the console.
You can also try out the following queries:
select playerName, max(hits)
group by playerName
order by max(hits) desc
select sum(hits), sum(homeRuns), sum(numberOfGames)
where yearID > 2010
order by league
The Pinot Admin UI contains all the APIs that you will need to operate and manage your cluster. It provides a set of APIs for Pinot cluster management including health check, instances management, schema and table management, data segments management.
Let's check out the tables in this cluster by going to Table -> List all tables in cluster, click Try it out, and then click Execute. We can see the
baseballStatstable listed here. We can also see the exact cURL call made to the controller API.
List all tables in cluster
You can look at the configuration of this table by going to Tables -> Get/Enable/Disable/Drop a table, click Try it out, type
baseballStatsin the table name, and then click Execute.
Let's check out the schemas in the cluster by going to Schema -> List all schemas in the cluster, click Try it out, and then click Execute. We can see a schema called
baseballStatsin this list.
List all schemas in the cluster
Take a look at the schema by going to Schema -> Get a schema, click Try it out, type
baseballStatsin the schema name, and then click Execute.
Finally, let's check out the data segments in the cluster by going to Segment -> List all segments, click Try it out, type in
baseballStatsin the table name, and then click Execute. There's 1 segment for this table, called