Submitting queries with Hue

You can write and edit queries for Hive or Impala Virtual Warehouses in the Cloudera Data Warehouse (CDW) service by using Hue.

For detailed information about using Hue, see Using Hue.

Required role: DWUser

Hue uses your LDAP credentials that you have configured for the CDP Public Cloud cluster.

  1. Log into the CDP web interface and navigate to the Data Warehouse service.
  2. In the Data Warehouse service, navigate to the Overview page.
  3. To run Impala queries:
    1. Click HUE on the Impala Virtual Warehouse tile.
      The query editor is displayed:


    2. Click a database to view the tables it contains.
      When you click a database, it sets it as the target of your query in the main query editor panel.
    3. Type a query in the editor panel and click the run icon to run the query.
      You can also run multiple queries by selecting them and clicking .
  4. To run Hive queries:
    1. Click HUE on the Hive Virtual Warehouse tile.
      The Hive query editor is displayed:


    2. Click a database to view the tables it contains.
      When you click a database, it sets it as the target of your query in the main query editor panel.
    3. Type a query in the editor panel and click the run icon to run the query.
      You can also run multiple queries by selecting them and clicking .