Skip to content

Commit 151dd52

Browse files
committed
[task #8213]Port tests in select.rs to sqllogictest
Signed-off-by: tangruilin <[email protected]>
1 parent 827668a commit 151dd52

File tree

3 files changed

+299
-567
lines changed

3 files changed

+299
-567
lines changed

datafusion/core/tests/sql/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ use datafusion::{assert_batches_eq, assert_batches_sorted_eq};
3434
use datafusion::{datasource::MemTable, physical_plan::collect};
3535
use datafusion::{execution::context::SessionContext, physical_plan::displayable};
3636
use datafusion_common::{assert_contains, assert_not_contains};
37+
use nix::libc::tm;
3738
use object_store::path::Path;
3839
use std::fs::File;
3940
use std::io::Write;
@@ -240,6 +241,8 @@ async fn create_ctx_with_partition(
240241

241242
let schema = populate_csv_partitions(tmp_dir, partition_count, ".csv")?;
242243

244+
println!("@@@@{:?}", schema);
245+
243246
// register csv file with the execution context
244247
ctx.register_csv(
245248
"test",

0 commit comments

Comments
 (0)