Skip to content

feat(tesseract): Logical plan #9497

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

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

Conversation

waralexrom
Copy link
Member

Check List

  • Tests have 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

Copy link

codecov bot commented Apr 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.56%. Comparing base (409d74d) to head (b4ced53).
Report is 23 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #9497       +/-   ##
===========================================
+ Coverage   48.05%   80.56%   +32.51%     
===========================================
  Files         171      382      +211     
  Lines       21453    96654    +75201     
  Branches     3722     2192     -1530     
===========================================
+ Hits        10309    77870    +67561     
- Misses      10712    18473     +7761     
+ Partials      432      311      -121     
Flag Coverage Δ
cube-backend 58.98% <ø> (+10.93%) ⬆️
cubesql 83.91% <ø> (?)

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@waralexrom waralexrom requested a review from KSDaemon April 22, 2025 08:22
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.

👍🏻 🥇 This is great!
Left some typos...

}

#[derive(Clone)]
pub enum LogicalJoinItem {
Copy link
Member

Choose a reason for hiding this comment

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

Are any new variants expected or planned here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, PreAggregationSource for example.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, pre aggregation for example

}
};

let time_seira = TimeSeries::new(
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
let time_seira = TimeSeries::new(
let time_series = TimeSeries::new(

let mut render_references = HashMap::new();
let mut select_builder = SelectBuilder::new(from.clone());

//We insert render reference for main time dimension (with the some granularity as in time series to avoid unnessesary date_tranc)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
//We insert render reference for main time dimension (with the some granularity as in time series to avoid unnessesary date_tranc)
//We insert rendered reference for the main time dimension (with the same granularity as in time series to avoid unnecessary date_tranc)

QualifiedColumnName::new(Some(root_alias.clone()), format!("date_from")),
);

//We also insert render reference for the base dimension of time dimension (i.e. without `_granularity` prefix to let other time dimensions make date_tranc)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
//We also insert render reference for the base dimension of time dimension (i.e. without `_granularity` prefix to let other time dimensions make date_tranc)
//We also insert rendered reference for the base dimension of the time dimension (i.e. without `_granularity` prefix to let other time dimensions make date_tranc)

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