DataJunction / dj

A metrics platform.
http://datajunction.io
MIT License
35 stars 15 forks source link

Support: Ability to choose optimization of queries #1196

Open sadath-12 opened 1 month ago

sadath-12 commented 1 month ago

Can we have parameter , where we define whether we want the exact queries to be executed directly without optimization or not

shangyian commented 1 month ago

Hi @sadath-12, what kind of optimization are you referring to here? Is this referring to whether it uses a materialized table or just builds the node down to the node query directly? If that's what you mean, then we already have a use_materialized parameter, but we might need to expose it in the SQL request API.