Generating SQL from natural language in Cloudera Data Explorer (Hue)

The SQL AI Assistant in Cloudera Data Warehouse helps you to generate SQL queries by entering a prompt in natural language. You can then insert the generated SQL in the Data Explorer SQL editor and run it as usual.

  1. Log in to the Data Explorer (Hue) web interface.
  2. Click Assistant on the Data Explorer (Hue) SQL editor:
    Screenshot showing how to launch the SQL AI Assistant from the Data Explorer web interface.
  3. Click GENERATE.
    A SQL query is generated based on your input prompt. Click Insert to insert the query into the editor and run it.