Firebolt supports the use of query hints, which are special comments embedded in your SQL statements. These hints allow you to influence the behavior of the query planner, giving you greater control over how your queries are executed. Query hints are comments that start withDocumentation Index
Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt
Use this file to discover all available pages before exploring further.
/*! and end with */.
The following example demonstrates the syntax using the hint no_partial_agg:
SQL source
Supported hints in Firebolt
- No partial aggregation.
Disable partial aggregation for
group byqueries. - No join ordering. Disable join order optimization and instead use the order of the tables in the query.
- Optimize for single row window partitions. Optimize window expressions for high cardinality partitions.
- Unique columns. Specify that columns contain unique values to improve query optimization.