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 4 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 83.87%. Comparing base (4697600) to head (37e2479).

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #9497       +/-   ##
===========================================
+ Coverage   58.47%   83.87%   +25.40%     
===========================================
  Files         169      230       +61     
  Lines       13990    83825    +69835     
  Branches     2275        0     -2275     
===========================================
+ Hits         8180    70305    +62125     
- Misses       5495    13520     +8025     
+ Partials      315        0      -315     
Flag Coverage Δ
cube-backend ?
cubesql 83.87% <ø> (?)

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)

@waralexrom waralexrom force-pushed the tesseract-logical-plan branch from 2d7ac7e to 37e2479 Compare April 28, 2025 08:37
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