-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat(tesseract): Custom granularities support #9400
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #9400 +/- ##
==========================================
- Coverage 83.72% 83.72% -0.01%
==========================================
Files 229 229
Lines 82614 82614
==========================================
- Hits 69172 69168 -4
- Misses 13442 13446 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| return this.resolveSymbolsCallDeps2(cubeName, sql); | ||
| const deps: any[] = []; | ||
| this.resolveSymbolsCall(sql, (name) => { | ||
| deps.push({ name, undefined }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What did you mean? It seems to be incorrect. what did you want to mark as undefined? You're pushing an object, not a tuple.
| self.date_range.clone() | ||
| } | ||
|
|
||
| pub fn get_range_for_time_seiories(&self) -> Result<Option<(String, String)>, CubeError> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| pub fn get_range_for_time_seiories(&self) -> Result<Option<(String, String)>, CubeError> { | |
| pub fn get_range_for_time_series(&self) -> Result<Option<(String, String)>, CubeError> { |
rust/cubesqlplanner/cubesqlplanner/src/planner/sql_evaluator/dependecy.rs
Outdated
Show resolved
Hide resolved
9f89296 to
424bdbd
Compare
e0c5a44 to
a8476d9
Compare
| return this.resolveSymbolsCallDeps2(cubeName, sql); | ||
| const deps: any[] = []; | ||
| this.resolveSymbolsCall(sql, (name) => { | ||
| deps.push({ name, parent: undefined }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just
| deps.push({ name, parent: undefined }); | |
| deps.push({ name }); |
KSDaemon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻 LGTM! Left one minor note :)
rust/cubesqlplanner/cubesqlplanner/src/planner/time_dimension/date_time.rs
Outdated
Show resolved
Hide resolved
af4571b to
c4f8b9c
Compare
Check List
Issue Reference this PR resolves
[For example #12]
Description of Changes Made (if issue reference is not provided)
[Description goes here]