Create a Hive materialized view, store it in Druid
You can create a materialized view and store it in Druid using the Druid storage handler.
- Hive is running as a service in the cluster.
- Druid is running as a service in the cluster.
- You created a transactional table named src that has timestamp, dimension, and metric columns: __time TIMESTAMP, page STRING, user STRING, c_added INT, and c_removed INT columns.
In this task, you include the STORED BY clause followed by the Druid storage handler. The storage handler integrates Hive and Druid for saving the materialized view in Druid.