cube
cube copied to clipboard
fix(cubesql): Don't show meta OLAP queries in query history
Check List
- [x] Tests has been run in packages where changes made if available
- [x] Linter has been run for changed code
- [x] Tests for the changes have been added if not covered yet
- [ ] Docs have been added / updated if required
Description of Changes Made
This PR changes the behavior of isDataQuery
flag, instead passing it as false
by default on Prepare
step, when query is parsed, and then passing the updated value only on Execute
step. This avoids duplicated entries in query history for the same query with, for instance, Tablaeu, which would parse the query and get its meta result first, then repeat the same steps, but next time execute the query.