Skip to content

Commit

Permalink
abandon useless schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Lordworms committed Feb 12, 2024
1 parent 3d34459 commit e13670e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions datafusion/core/tests/dataframe/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1489,11 +1489,6 @@ async fn test_read_batches_empty() -> Result<()> {
let state = SessionState::new_with_config_rt(config, runtime);
let ctx = SessionContext::new_with_state(state);

let _schema = Arc::new(Schema::new(vec![
Field::new("id", DataType::Int32, false),
Field::new("number", DataType::Float32, false),
]));

let batches = vec![];
let df = ctx.read_batches(batches).unwrap();
df.clone().show().await.unwrap();
Expand Down

0 comments on commit e13670e

Please sign in to comment.