We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15068d2 commit 9b2ded7Copy full SHA for 9b2ded7
src/table.rs
@@ -320,21 +320,6 @@ impl TableProvider for DuckLakeTable {
320
execs.push(exec);
321
}
322
323
- // Handle empty tables (no data files)
324
- if execs.is_empty() {
325
- // Return an EmptyExec for empty tables
326
- use datafusion::physical_plan::empty::EmptyExec;
327
- let projected_schema = match projection {
328
- Some(proj) => {
329
- let fields: Vec<_> =
330
- proj.iter().map(|&i| self.schema.field(i).clone()).collect();
331
- Arc::new(Schema::new(fields))
332
- },
333
- None => self.schema.clone(),
334
- };
335
- return Ok(Arc::new(EmptyExec::new(projected_schema)));
336
- }
337
-
338
// Combine execution plans
339
combine_execution_plans(execs)
340
0 commit comments