Editing the query in natural language in Hue

You can edit a query in natural language and generate it again to fine-tune your results using the Hue SQL AI Assistant. You can then insert the SQL query into the editor and run it as usual.

Your administrator must have configured and set up the required infrastructure for you to use the SQL AI Assistant. See About setting up the SQL AI Assistant in CDW.
  1. Log in to the Data Warehouse service as DWUser.
  2. Open Hue corresponding to your Virtual Warehouse.
  3. Click Assistant on the Hue SQL editor:
    Screenshot showing how to launch the SQL AI Assistant from the Hue web interface.
  4. Click EDIT.
    Screenshot showing how to edit a query in natural language using the SQL AI Assistant in Hue.
    Select the query from the list and edit it as needed. Then press enter to regenerate the SQL.