TheBuilderJR commented on PR #15295: URL: https://github.com/apache/datafusion/pull/15295#issuecomment-2875527091
@kosiew in case it's helpful I ended up building your datafusion fork (on branch schema-adapter) locally so you can get more useful stack traces. See below: ``` Error fetching table metadata: Failed to collect data frame results: Shared(ArrowError(ExternalError(Execution("Unexpected batch schema from file, expected 1 cols but got 4\n\nbacktrace: 0: std::backtrace_rs::backtrace::libunwind::trace\n at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5\n 1: std::backtrace_rs::backtrace::trace_unsynchronized\n at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5\n 2: std::backtrace::Backtrace::create\n at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/backtrace.rs:331:13\n 3: std::backtrace::Backtrace::capture\n at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/backtrace.rs:296:9\n 4: datafusion_common::error::DataFusionError::get_back_trace\n at /Users/thebuilderjr/projects/kosiew-fork/datafusion/datafusion/common/src/erro r.rs:473:30\n 5: datafusion_datasource::file_scan_config::PartitionColumnProjector::project\n at /Users/thebuilderjr/projects/kosiew-fork/datafusion/datafusion/datasource/src/file_scan_config.rs:1166:20\n 6: datafusion_datasource::file_stream::FileStream::poll_inner\n at /Users/thebuilderjr/projects/kosiew-fork/datafusion/datafusion/datasource/src/file_stream.rs:224:42\n 7: <datafusion_datasource::file_stream::FileStream as futures_core::stream::Stream>::poll_next\n at /Users/thebuilderjr/projects/kosiew-fork/datafusion/datafusion/datasource/src/file_stream.rs:333:22\n 8: <core::pin::Pin<P> as futures_core::stream::Stream>::poll_next\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-core-0.3.31/src/stream.rs:130:9\n 9: futures_util::stream::stream::StreamExt::poll_next_unpin\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/str eam/stream/mod.rs:1638:9\n 10: <futures_util::stream::stream::next::Next<St> as core::future::future::Future>::poll\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/stream/stream/next.rs:32:9\n 11: datafusion_physical_plan::repartition::RepartitionExec::pull_from_input::{{closure}}\n at /Users/thebuilderjr/projects/kosiew-fork/datafusion/datafusion/physical-plan/src/repartition/mod.rs:882:40\n 12: datafusion_common_runtime::trace_utils::trace_future::{{closure}}\n at /Users/thebuilderjr/projects/kosiew-fork/datafusion/datafusion/common-runtime/src/trace_utils.rs:137:29\n 13: <core::pin::Pin<P> as core::future::future::Future>::poll\n at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9\n 14: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll\n at /Users/the builderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/future/future/map.rs:55:37\n 15: <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/lib.rs:86:13\n 16: <core::pin::Pin<P> as core::future::future::Future>::poll\n at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9\n 17: tokio::runtime::task::core::Core<T,S>::poll::{{closure}}\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/core.rs:331:17\n 18: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/loom/std/unsafe_cell.rs:16:9\n 19: tokio::runtime::task::core::Core<T,S>::poll\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/core.rs:320:13\n 20: tokio::runtime::task::harness::poll_future::{{closure}}\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/harness.rs:532:19\n 21: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once\n at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9\n 22: std::panicking::try::do_call\n at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/panicking.rs:557:40\n 23: ___rust_try\n 24: std::panicking::try\n at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/panicking.rs:520:19\n 25: std::panic::catch_unwind\n at /Users/thebu ilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/panic.rs:358:14\n 26: tokio::runtime::task::harness::poll_future\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/harness.rs:520:18\n 27: tokio::runtime::task::harness::Harness<T,S>::poll_inner\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/harness.rs:209:27\n 28: tokio::runtime::task::harness::Harness<T,S>::poll\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/harness.rs:154:15\n 29: tokio::runtime::task::raw::poll\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/raw.rs:271:5\n 30: tokio::runtime::task::raw::RawTask::poll\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba150 01f/tokio-1.45.0/src/runtime/task/raw.rs:201:18\n 31: tokio::runtime::task::LocalNotified<S>::run\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/mod.rs:463:9\n 32: tokio::runtime::scheduler::multi_thread::worker::Context::run_task::{{closure}}\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/scheduler/multi_thread/worker.rs:600:13\n 33: tokio::task::coop::with_budget\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/task/coop/mod.rs:167:5\n 34: tokio::task::coop::budget\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/task/coop/mod.rs:133:5\n 35: tokio::runtime::scheduler::multi_thread::worker::Context::run_task\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/sch eduler/multi_thread/worker.rs:594:9\n 36: tokio::runtime::scheduler::multi_thread::worker::Context::run\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/scheduler/multi_thread/worker.rs:542:24\n 37: tokio::runtime::scheduler::multi_thread::worker::run::{{closure}}::{{closure}}\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/scheduler/multi_thread/worker.rs:507:21\n 38: tokio::runtime::context::scoped::Scoped<T>::set\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/context/scoped.rs:40:9\n 39: tokio::runtime::context::set_scheduler::{{closure}}\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/context.rs:176:26\n 40: std::thread::local::LocalKey<T>::try_with\n at /Users/thebuilderjr/.rustup/toolchains/stable -x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/thread/local.rs:283:12\n 41: std::thread::local::LocalKey<T>::with\n at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/thread/local.rs:260:9\n 42: tokio::runtime::context::set_scheduler\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/context.rs:176:9\n 43: tokio::runtime::scheduler::multi_thread::worker::run::{{closure}}\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/scheduler/multi_thread/worker.rs:502:9\n 44: tokio::runtime::context::runtime::enter_runtime\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/context/runtime.rs:65:16\n 45: tokio::runtime::scheduler::multi_thread::worker::run\n at /Users/thebuilderjr/.cargo/registry/src/index.crates .io-6f17d22bba15001f/tokio-1.45.0/src/runtime/scheduler/multi_thread/worker.rs:494:5\n 46: tokio::runtime::scheduler::multi_thread::worker::Launch::launch::{{closure}}\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/scheduler/multi_thread/worker.rs:460:45\n 47: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/blocking/task.rs:42:21\n 48: tokio::runtime::task::core::Core<T,S>::poll::{{closure}}\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/core.rs:331:17\n 49: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/loom/std/unsafe_cell.rs:16:9\n 50: tokio::runtime::task::core::Core<T,S >::poll\n at >/Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/core.rs:320:13\n > 51: tokio::runtime::task::harness::poll_future::{{closure}}\n >at >/Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/harness.rs:532:19\n > 52: <core::panic::unwind_safe::AssertUnwindSafe<F> as >core::ops::function::FnOnce<()>>::call_once\n at >/Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9\n > 53: std::panicking::try::do_call\n at >/Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/panicking.rs:557:40\n > 54: ___rust_try\n 55: std::panicking::try\n at >/Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/panicking.rs:520:19\n > 56: std::panic::catch_unwind\n at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/panic.rs:358:14\n 57: tokio::runtime::task::harness::poll_future\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/harness.rs:520:18\n 58: tokio::runtime::task::harness::Harness<T,S>::poll_inner\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/harness.rs:209:27\n 59: tokio::runtime::task::harness::Harness<T,S>::poll\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/harness.rs:154:15\n 60: tokio::runtime::task::raw::poll\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/raw.rs:271:5\n 61: tokio::runtime::task::raw::RawTask::poll\n at /Users/thebuilderjr/.cargo/registry/src/index.crat es.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/raw.rs:201:18\n 62: tokio::runtime::task::UnownedTask<S>::run\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/mod.rs:500:9\n 63: tokio::runtime::blocking::pool::Task::run\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/blocking/pool.rs:161:9\n 64: tokio::runtime::blocking::pool::Inner::run\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/blocking/pool.rs:511:17\n 65: tokio::runtime::blocking::pool::Spawner::spawn_thread::{{closure}}\n at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/blocking/pool.rs:469:13\n 66: std::sys::backtrace::__rust_begin_short_backtrace\n at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rus t/library/std/src/sys/backtrace.rs:154:18\n 67: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}\n at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/thread/mod.rs:561:17\n 68: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once\n at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9\n 69: std::panicking::try::do_call\n at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/panicking.rs:557:40\n 70: ___rust_try\n 71: std::panicking::try\n at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/panicking.rs:520:19\n 72: std::panic::catch_unwind\n at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/ rust/library/std/src/panic.rs:358:14\n 73: std::thread::Builder::spawn_unchecked_::{{closure}}\n at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/thread/mod.rs:559:30\n 74: core::ops::function::FnOnce::call_once{{vtable.shim}}\n at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5\n 75: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once\n at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/alloc/src/boxed.rs:1972:9\n 76: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once\n at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/alloc/src/boxed.rs:1972:9\n 77: std::sys::pal::unix::thread::Thread::new::thread_start\n at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/sys/pal/unix/thread.rs:105:17\n 78: __pthread_start\n" )), None)) Stack backtrace: 0: std::backtrace_rs::backtrace::libunwind::trace at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 1: std::backtrace_rs::backtrace::trace_unsynchronized at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: std::backtrace::Backtrace::create at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/backtrace.rs:331:13 3: std::backtrace::Backtrace::capture at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/backtrace.rs:296:9 4: anyhow::error::<impl anyhow::Error>::msg at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.98/src/backtrace.rs:27:14 5: query_executor::QueryExecutor::execute_query::{{closure}}::{{closure}} at /Users/thebuilderjr/projects/telemetry/query_executor/src/lib.rs:236:26 6: core::result::Result<T,E>::map_err at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/result.rs:856:27 7: query_executor::QueryExecutor::execute_query::{{closure}} at /Users/thebuilderjr/projects/telemetry/query_executor/src/lib.rs:219:33 8: query_executor::QueryExecutor::fetch_monthly_row_counts::{{closure}} at /Users/thebuilderjr/projects/telemetry/query_executor/src/lib.rs:341:85 9: <tokio::future::maybe_done::MaybeDone<Fut> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/future/maybe_done.rs:65:56 10: telemetry_server::get_table_metadata::{{closure}}::{{closure}} at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/macros/try_join.rs:184:24 11: <core::future::poll_fn::PollFn<F> as core::future::future::Future>::poll at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/future/poll_fn.rs:151:9 12: telemetry_server::get_table_metadata::{{closure}} at ./src/main.rs:351:15 13: <F as axum::handler::Handler<(M,T1,T2,T3),S>>::call::{{closure}} at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/handler/mod.rs:241:53 14: <core::pin::Pin<P> as core::future::future::Future>::poll at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9 15: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/future/future/map.rs:55:37 16: <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/lib.rs:86:13 17: <axum::handler::future::IntoServiceFuture<F> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/macros.rs:42:17 18: <F as futures_core::future::TryFuture>::try_poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-core-0.3.31/src/future.rs:92:9 19: <futures_util::future::try_future::into_future::IntoFuture<Fut> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/future/try_future/into_future.rs:34:9 20: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/future/future/map.rs:55:37 21: <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/lib.rs:86:13 22: <futures_util::future::try_future::MapOk<Fut,F> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/lib.rs:86:13 23: <tower::util::map_response::MapResponseFuture<F,N> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tower-0.5.2/src/macros.rs:38:17 24: <core::pin::Pin<P> as core::future::future::Future>::poll at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9 25: <tower::util::oneshot::Oneshot<S,Req> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tower-0.5.2/src/util/oneshot.rs:97:38 26: <axum::routing::route::RouteFuture<E> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/route.rs:182:61 27: <F as futures_core::future::TryFuture>::try_poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-core-0.3.31/src/future.rs:92:9 28: <futures_util::future::try_future::into_future::IntoFuture<Fut> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/future/try_future/into_future.rs:34:9 29: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/future/future/map.rs:55:37 30: <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/lib.rs:86:13 31: <futures_util::future::try_future::MapOk<Fut,F> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/lib.rs:86:13 32: <tower::util::map_response::MapResponseFuture<F,N> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tower-0.5.2/src/macros.rs:38:17 33: <F as futures_core::future::TryFuture>::try_poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-core-0.3.31/src/future.rs:92:9 34: <futures_util::future::try_future::into_future::IntoFuture<Fut> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/future/try_future/into_future.rs:34:9 35: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/future/future/map.rs:55:37 36: <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/lib.rs:86:13 37: <futures_util::future::try_future::MapErr<Fut,F> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/lib.rs:86:13 38: <tower::util::map_err::MapErrFuture<F,N> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tower-0.5.2/src/macros.rs:38:17 39: <F as futures_core::future::TryFuture>::try_poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-core-0.3.31/src/future.rs:92:9 40: <futures_util::future::try_future::into_future::IntoFuture<Fut> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/future/try_future/into_future.rs:34:9 41: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/future/future/map.rs:55:37 42: <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/lib.rs:86:13 43: <futures_util::future::try_future::MapOk<Fut,F> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/lib.rs:86:13 44: <tower::util::map_response::MapResponseFuture<F,N> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tower-0.5.2/src/macros.rs:38:17 45: <core::pin::Pin<P> as core::future::future::Future>::poll at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9 46: <tower::util::oneshot::Oneshot<S,Req> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tower-0.5.2/src/util/oneshot.rs:97:38 47: <axum::routing::route::RouteFuture<E> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/routing/route.rs:182:61 48: <hyper_util::service::oneshot::Oneshot<S,Req> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.11/src/service/oneshot.rs:55:38 49: <hyper_util::service::glue::TowerToHyperServiceFuture<S,R> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.11/src/service/glue.rs:59:9 50: <hyper::proto::h1::dispatch::Server<S,hyper::body::incoming::Incoming> as hyper::proto::h1::dispatch::Dispatch>::poll_msg at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-1.6.0/src/proto/h1/dispatch.rs:538:35 51: hyper::proto::h1::dispatch::Dispatcher<D,Bs,I,T>::poll_write at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-1.6.0/src/proto/h1/dispatch.rs:336:43 52: hyper::proto::h1::dispatch::Dispatcher<D,Bs,I,T>::poll_loop at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-1.6.0/src/proto/h1/dispatch.rs:173:21 53: hyper::proto::h1::dispatch::Dispatcher<D,Bs,I,T>::poll_inner at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-1.6.0/src/proto/h1/dispatch.rs:149:16 54: hyper::proto::h1::dispatch::Dispatcher<D,Bs,I,T>::poll_catch at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-1.6.0/src/proto/h1/dispatch.rs:128:28 55: <hyper::proto::h1::dispatch::Dispatcher<D,Bs,I,T> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-1.6.0/src/proto/h1/dispatch.rs:471:9 56: <hyper::server::conn::http1::UpgradeableConnection<I,S> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-1.6.0/src/server/conn/http1.rs:530:26 57: <hyper_util::server::conn::auto::UpgradeableConnection<I,S,E> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-util-0.1.11/src/server/conn/auto/mod.rs:629:28 58: <axum::serve::Serve<M,S> as core::future::into_future::IntoFuture>::into_future::{{closure}}::{{closure}} at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/axum-0.7.9/src/serve.rs:257:26 59: tokio::runtime::task::core::Core<T,S>::poll::{{closure}} at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/core.rs:331:17 60: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/loom/std/unsafe_cell.rs:16:9 61: tokio::runtime::task::core::Core<T,S>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/core.rs:320:13 62: tokio::runtime::task::harness::poll_future::{{closure}} at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/harness.rs:532:19 63: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9 64: std::panicking::try::do_call at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/panicking.rs:557:40 65: ___rust_try 66: std::panicking::try at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/panicking.rs:520:19 67: std::panic::catch_unwind at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/panic.rs:358:14 68: tokio::runtime::task::harness::poll_future at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/harness.rs:520:18 69: tokio::runtime::task::harness::Harness<T,S>::poll_inner at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/harness.rs:209:27 70: tokio::runtime::task::harness::Harness<T,S>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/harness.rs:154:15 71: tokio::runtime::task::raw::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/raw.rs:271:5 72: tokio::runtime::task::raw::RawTask::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/raw.rs:201:18 73: tokio::runtime::task::LocalNotified<S>::run at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/mod.rs:463:9 74: tokio::runtime::scheduler::multi_thread::worker::Context::run_task::{{closure}} at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/scheduler/multi_thread/worker.rs:600:13 75: tokio::task::coop::with_budget at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/task/coop/mod.rs:167:5 76: tokio::task::coop::budget at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/task/coop/mod.rs:133:5 77: tokio::runtime::scheduler::multi_thread::worker::Context::run_task at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/scheduler/multi_thread/worker.rs:594:9 78: tokio::runtime::scheduler::multi_thread::worker::Context::run at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/scheduler/multi_thread/worker.rs:542:24 79: tokio::runtime::scheduler::multi_thread::worker::run::{{closure}}::{{closure}} at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/scheduler/multi_thread/worker.rs:507:21 80: tokio::runtime::context::scoped::Scoped<T>::set at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/context/scoped.rs:40:9 81: tokio::runtime::context::set_scheduler::{{closure}} at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/context.rs:176:26 82: std::thread::local::LocalKey<T>::try_with at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/thread/local.rs:283:12 83: std::thread::local::LocalKey<T>::with at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/thread/local.rs:260:9 84: tokio::runtime::context::set_scheduler at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/context.rs:176:9 85: tokio::runtime::scheduler::multi_thread::worker::run::{{closure}} at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/scheduler/multi_thread/worker.rs:502:9 86: tokio::runtime::context::runtime::enter_runtime at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/context/runtime.rs:65:16 87: tokio::runtime::scheduler::multi_thread::worker::run at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/scheduler/multi_thread/worker.rs:494:5 88: tokio::runtime::scheduler::multi_thread::worker::Launch::launch::{{closure}} at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/scheduler/multi_thread/worker.rs:460:45 89: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/blocking/task.rs:42:21 90: tokio::runtime::task::core::Core<T,S>::poll::{{closure}} at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/core.rs:331:17 91: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/loom/std/unsafe_cell.rs:16:9 92: tokio::runtime::task::core::Core<T,S>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/core.rs:320:13 93: tokio::runtime::task::harness::poll_future::{{closure}} at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/harness.rs:532:19 94: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9 95: std::panicking::try::do_call at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/panicking.rs:557:40 96: ___rust_try 97: std::panicking::try at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/panicking.rs:520:19 98: std::panic::catch_unwind at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/panic.rs:358:14 99: tokio::runtime::task::harness::poll_future at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/harness.rs:520:18 100: tokio::runtime::task::harness::Harness<T,S>::poll_inner at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/harness.rs:209:27 101: tokio::runtime::task::harness::Harness<T,S>::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/harness.rs:154:15 102: tokio::runtime::task::raw::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/raw.rs:271:5 103: tokio::runtime::task::raw::RawTask::poll at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/raw.rs:201:18 104: tokio::runtime::task::UnownedTask<S>::run at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/task/mod.rs:500:9 105: tokio::runtime::blocking::pool::Task::run at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/blocking/pool.rs:161:9 106: tokio::runtime::blocking::pool::Inner::run at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/blocking/pool.rs:511:17 107: tokio::runtime::blocking::pool::Spawner::spawn_thread::{{closure}} at /Users/thebuilderjr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.45.0/src/runtime/blocking/pool.rs:469:13 108: std::sys::backtrace::__rust_begin_short_backtrace at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/sys/backtrace.rs:154:18 109: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/thread/mod.rs:561:17 110: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/panic/unwind_safe.rs:272:9 111: std::panicking::try::do_call at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/panicking.rs:557:40 112: ___rust_try 113: std::panicking::try at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/panicking.rs:520:19 114: std::panic::catch_unwind at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/panic.rs:358:14 115: std::thread::Builder::spawn_unchecked_::{{closure}} at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/std/src/thread/mod.rs:559:30 116: core::ops::function::FnOnce::call_once{{vtable.shim}} at /Users/thebuilderjr/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5 117: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/alloc/src/boxed.rs:1972:9 118: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/alloc/src/boxed.rs:1972:9 119: std::sys::pal::unix::thread::Thread::new::thread_start at /rustc/e71f9a9a98b0faf423844bf0ba7438f29dc27d58/library/std/src/sys/pal/unix/thread.rs:105:17 120: __pthread_start ``` you can see the error is thrown in file_scan_config.rs ``` if file_batch.columns().len() != expected_cols { return exec_err!( "Unexpected batch schema from file, expected {} cols but got {}", expected_cols, file_batch.columns().len() ); } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org