Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(cubesql): Improve EGraph debugger, part 3: parsing and data preparation in UI side #8934

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

mcheshkov
Copy link
Member

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 (if issue reference is not provided)

Add proper parsing on UI side, to catch data format changes.
Move most of data preparation related to UI (like a concepts of edge or combo) to UI completely, simplify data collection on rewriter side.

Copy link

codecov bot commented Nov 8, 2024

Codecov Report

Attention: Patch coverage is 0% with 48 lines in your changes missing coverage. Please review.

Project coverage is 82.72%. Comparing base (5fd13d1) to head (5212ee8).

Files with missing lines Patch % Lines
...st/cubesql/cubesql/src/compile/rewrite/rewriter.rs 0.00% 47 Missing ⚠️
...st/cubesql/cubesql/src/compile/rewrite/analysis.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8934      +/-   ##
==========================================
+ Coverage   82.66%   82.72%   +0.06%     
==========================================
  Files         221      221              
  Lines       78303    78244      -59     
==========================================
+ Hits        64726    64728       +2     
+ Misses      13577    13516      -61     
Flag Coverage Δ
cubesql 82.72% <0.00%> (+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.

@mcheshkov mcheshkov marked this pull request as ready for review November 8, 2024 15:00
@mcheshkov mcheshkov requested review from a team as code owners November 8, 2024 15:00
Copy link
Member

@KSDaemon KSDaemon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻 LGTM! Left minor note.

@@ -18,6 +18,7 @@ import type {
NodeProps,
} from 'reactflow';
import 'reactflow/dist/style.css';
import { z } from 'zod';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably, not a big deal but still:
We already have a joi scheme validator in our codebase, so maybe we can reuse it here too? I know, node_modules is a black hole and could hold any number of packages) but... If we can reduce and reuse...Why not?

Copy link

vercel bot commented Nov 13, 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 Nov 13, 2024 0:14am
examples-react-d3 ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 0:14am
examples-react-dashboard ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 0:14am
examples-react-data-table ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 0:14am
examples-react-highcharts ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 0:14am
examples-react-material-ui ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 0:14am
examples-react-pivot-table ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 0:14am
examples-vue-query-builder ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2024 0:14am

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.

2 participants