Optimizing a query in Cloudera Data Explorer (Hue)
You can use the SQL AI Assistant to optimize a SQL query. Data Explorer identifies the issues in the source query, optimizes it,
and provides the optimized version of the SQL query. Data Explorer
also summarizes the issues and how it optimized the query in natural language.
Log in to the service as DWUser.
Open Data Explorer (Hue)
corresponding to your Virtual Warehouse.
Insert a SQL query in the Data Explorer editor that you
would like to optimize.
Click Assistant on the Data Explorer (Hue) SQL
editor:
Click OPTIMIZE.
Data Explorer displays the original and the
optimized SQL query side-by-side. It also provides an explanation of the issues
in the original query and how it was optimized.