Optimizing Complex Searches
A Real-World Example
The Direct Approach
type ~ 'dashboard' AND HAS upstream(type="table" and defined_by='dbt') AND NOT HAS upstream(type = 'table' and (defined_by is null or defined_by != "dbt"))The Optimized Approach
Step 1: Create the Computed Property
Step 2: Use the Property
Best Practices for Query Optimization
When to Use This Pattern
Example Use Cases
Last updated