-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
refactor(rust): Remove extra schema traits #18616
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #18616 +/- ##
==========================================
- Coverage 79.94% 79.92% -0.03%
==========================================
Files 1505 1506 +1
Lines 202579 203047 +468
Branches 2873 2889 +16
==========================================
+ Hits 161958 162282 +324
- Misses 40073 40215 +142
- Partials 548 550 +2 ☔ View full report in Codecov by Sentry. |
Can you rebase? |
5878b69
to
d95c0c2
Compare
@@ -26,7 +26,7 @@ pub fn lower_ir( | |||
let output_schema = IR::schema_with_cache(node, ir_arena, schema_cache); | |||
let node_kind = match ir_node { | |||
IR::SimpleProjection { input, columns } => { | |||
let columns = columns.get_names_owned(); | |||
let columns = columns.iter_names().cloned().collect::<Vec<_>>(); |
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.
Given that we call this often, a utility method might save some code bloat. 👀
polars_schema::Schema<D>
structSchema<D>
, most functions don't needD: Default + Clone