Skip to content

Conversation

@MazterQyou
Copy link
Member

@MazterQyou MazterQyou commented Jun 7, 2024

Check List

  • Tests has been run in packages where changes made if available
  • Linter has been run for changed code
  • 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.

@vercel
Copy link

vercel bot commented Jun 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

8 Skipped Deployments
Name Status Preview Comments Updated (UTC)
examples-angular-dashboard ⬜️ Ignored (Inspect) Visit Preview Sep 30, 2024 9:04pm
examples-react-d3 ⬜️ Ignored (Inspect) Visit Preview Sep 30, 2024 9:04pm
examples-react-dashboard ⬜️ Ignored (Inspect) Visit Preview Sep 30, 2024 9:04pm
examples-react-data-table ⬜️ Ignored (Inspect) Visit Preview Sep 30, 2024 9:04pm
examples-react-highcharts ⬜️ Ignored (Inspect) Visit Preview Sep 30, 2024 9:04pm
examples-react-material-ui ⬜️ Ignored (Inspect) Visit Preview Sep 30, 2024 9:04pm
examples-react-pivot-table ⬜️ Ignored (Inspect) Visit Preview Sep 30, 2024 9:04pm
examples-vue-query-builder ⬜️ Ignored (Inspect) Visit Preview Sep 30, 2024 9:04pm

@MazterQyou MazterQyou force-pushed the cubesql/data-query-span branch from 0cee15b to 61ba953 Compare June 8, 2024 09:56
@MazterQyou MazterQyou changed the title wip(cubesql): Data query flag span fix(cubesql): Don't show meta OLAP queries in query history Jun 8, 2024
@MazterQyou MazterQyou marked this pull request as ready for review June 8, 2024 09:59
@MazterQyou MazterQyou requested a review from a team as a code owner June 8, 2024 09:59
@MazterQyou MazterQyou force-pushed the cubesql/data-query-span branch from 61ba953 to 662ff94 Compare September 30, 2024 21:04
@codecov
Copy link

codecov bot commented Sep 30, 2024

Codecov Report

Attention: Patch coverage is 65.36585% with 71 lines in your changes missing coverage. Please review.

Project coverage is 82.61%. Comparing base (a2e604e) to head (662ff94).
Report is 113 commits behind head on master.

Files with missing lines Patch % Lines
rust/cubesql/cubesql/src/sql/postgres/shim.rs 66.32% 66 Missing ⚠️
rust/cubesql/cubesql/src/sql/postgres/extended.rs 44.44% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8336      +/-   ##
==========================================
- Coverage   82.67%   82.61%   -0.06%     
==========================================
  Files         217      217              
  Lines       78125    78215      +90     
==========================================
+ Hits        64589    64619      +30     
- Misses      13536    13596      +60     
Flag Coverage Δ
cubesql 82.61% <65.36%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MazterQyou MazterQyou requested a review from paveltiunov October 2, 2024 14:16
@paveltiunov paveltiunov merged commit 78a5fc3 into master Nov 3, 2024
74 checks passed
@paveltiunov paveltiunov deleted the cubesql/data-query-span branch November 3, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants