-
Notifications
You must be signed in to change notification settings - Fork 10
Upgrade to DF49 #75
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
Upgrade to DF49 #75
Conversation
| "| plan_type | plan |", | ||
| "+--------------+--------------------------------------------------------------------+", | ||
| "| logical_plan | Union |", | ||
| "| | Projection: coalesce(CAST(t1.year AS Utf8View), t2.year) AS year |", |
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.
After apache/datafusion#16906, the cast will be unnecessary; however, the current cast won't affect correctness.
src/rewrite/exploitation.rs
Outdated
| fn required_input_ordering(&self) -> Vec<Option<OrderingRequirements>> { | ||
| self.required_input_ordering | ||
| .as_ref() | ||
| .map(|req| vec![Some(OrderingRequirements::from(req.clone())); self.children().len()]) |
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.
Do we want to just store an OrderingRequirements in the node and update with_required_input_ordering to accept a OrderingRequirements?
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.
Sure, I applied the change
Close #74