Skip to content

Commit 930a662

Browse files
committed
add: log resolved schema in SessionContext for debugging
1 parent df163f7 commit 930a662

File tree

1 file changed

+1
-0
lines changed
  • datafusion/core/src/execution/context

1 file changed

+1
-0
lines changed

datafusion/core/src/execution/context/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1197,6 +1197,7 @@ impl SessionContext {
11971197
let resolved_schema = options
11981198
.get_resolved_schema(&session_config, self.state(), table_paths[0].clone())
11991199
.await?;
1200+
println!("==> resolved_schema: {:?}", resolved_schema);
12001201
let config = ListingTableConfig::new_with_multi_paths(table_paths)
12011202
.with_listing_options(listing_options)
12021203
.with_schema(resolved_schema);

0 commit comments

Comments
 (0)