Generating a comment for a query in Hue

The SQL AI Assistant can generate a comment explaining what SQL query does. You can insert it into the query to improve readability.

  1. Insert a SQL query in the Hue editor for which you want to generate a comment.
  2. Click Assistant on the Hue SQL editor:
    Screenshot showing how to launch the SQL AI Assistant from the Hue web interface.
  3. Click COMMENT.
    Screenshot showing how to use the SQL AI Assistant in Hue to generate a comment for a SQL query.
    The SQL AI Assistant generates a detailed comment for the input SQL query.
    Screenshot showing the comment generated for a SQL query by the SQL AI Assistant in Hue.
    Click Insert to insert the comment into the query.