Skip to content
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): Make no-default-features compile #17516

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

orlp
Copy link
Collaborator

@orlp orlp commented Jul 9, 2024

No description provided.

@github-actions github-actions bot added internal An internal refactor or improvement rust Related to Rust Polars labels Jul 9, 2024
@@ -328,6 +329,7 @@ pub(crate) fn into_py(py: Python<'_>, plan: &IR) -> PyResult<PyObject> {
.map_err(|err| PyValueError::new_err(format!("{err:?}")))?;
("csv", options, cloud_options).into_py(py)
},
#[cfg(feature = "parquet")]
Copy link
Collaborator

@wence- wence- Jul 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: Does feature="parquet" imply feature="serde" such that serde_json is available?

(Thanks for this, btw!)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, it doesn't, there's still various issues if you only compile with --no-default-features --features parquet.

But that's for a future follow-up PR. I want to tackle this in bits.

Copy link

codecov bot commented Jul 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.47%. Comparing base (a5724d6) to head (cb56ce2).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #17516      +/-   ##
==========================================
- Coverage   80.47%   80.47%   -0.01%     
==========================================
  Files        1482     1482              
  Lines      195119   195119              
  Branches     2778     2778              
==========================================
- Hits       157026   157021       -5     
- Misses      37582    37587       +5     
  Partials      511      511              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ritchie46 ritchie46 merged commit c8e4822 into pola-rs:main Jul 11, 2024
30 checks passed
@c-peters c-peters added the accepted Ready for implementation label Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Ready for implementation internal An internal refactor or improvement rust Related to Rust Polars
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants