-
Notifications
You must be signed in to change notification settings - Fork 1.9k
chore(tesseract): Some fixes to pass integration tests #9244
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 #9244 +/- ##
=======================================
Coverage 83.69% 83.69%
=======================================
Files 228 228
Lines 82016 82016
=======================================
Hits 68640 68640
Misses 13376 13376
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
ab46752 to
cc70404
Compare
3a99bef to
e23eced
Compare
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!
| @@ -1,3 +1,4 @@ | |||
| import { getEnv } from '@cubejs-backend/shared'; | |||
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.
Did you forget to delete?
| Ok(result) | ||
| } | ||
|
|
||
| fn deduplicate_deps_and_make_childs_tree( |
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.
| fn deduplicate_deps_and_make_childs_tree( | |
| fn deduplicate_deps_and_make_children_tree( |
| &self, | ||
| call_deps: &Vec<CallDep>, | ||
| ) -> Result<Vec<Vec<usize>>, CubeError> { | ||
| let mut childs_tree = Vec::new(); |
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.
| let mut childs_tree = Vec::new(); | |
| let mut children_tree = Vec::new(); |
| let mut deduplicate_index_map = HashMap::<usize, usize>::new(); | ||
| let mut deduplicate_map = HashMap::<CallDep, usize>::new(); | ||
| for (i, dep) in call_deps.iter().enumerate() { | ||
| //If subcube used twice in function, then call_deps can hold duplicated dependencies |
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.
| //If subcube used twice in function, then call_deps can hold duplicated dependencies | |
| //If subcube is used twice in function, then call_deps can hold duplicated dependencies |
cc70404 to
10bdac5
Compare
e23eced to
403f3c4
Compare
Check List
Issue Reference this PR resolves
[For example #12]
Description of Changes Made (if issue reference is not provided)
[Description goes here]