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

feat: Add IPC source node for new streaming engine #19454

Merged
merged 15 commits into from
Nov 13, 2024
Merged
Prev Previous commit
Next Next commit
fix invalid condition
  • Loading branch information
coastalwhite committed Nov 13, 2024
commit 6d441a1e13d676d6a80ea6d4591918397a3b8fed
2 changes: 1 addition & 1 deletion crates/polars-core/src/frame/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3338,7 +3338,7 @@ impl DataFrame {

pub fn append_record_batch(&mut self, rb: RecordBatchT<ArrayRef>) -> PolarsResult<()> {
polars_ensure!(
rb.arrays().len() != self.width(),
rb.arrays().len() == self.width(),
InvalidOperation: "attempt to extend dataframe of width {} with record batch of width {}",
self.width(),
rb.arrays().len(),
Expand Down