cube icon indicating copy to clipboard operation
cube copied to clipboard

fix(cubesql): Don't show meta OLAP queries in query history

Open MazterQyou opened this issue 4 weeks ago • 1 comments

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.

MazterQyou avatar Jun 07 '24 14:06 MazterQyou