Generating SQL from natural language in Hue

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

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