fabianmurariu commented on issue #10421:
URL: https://github.com/apache/datafusion/issues/10421#issuecomment-2227331476

   @mustafasrepo @alamb sorry for the delay, here is a repo attempting to 
replicate the issue, unfortunately I'm getting a completely different error on 
a simple join
   
   ```SELECT nodes.name FROM edges JOIN nodes ON edges.src = nodes.id```
   
   https://github.com/fabianmurariu/df_sql_bug
   
   ```
   thread 'main' panicked at src/main.rs:276:35:
   collect results: Plan("The left or right side of the join does not have all 
columns on \"on\": \nMissing on the left: {Column { name: \"src\", index: 0 
}}\nMissing on the right: {}")
   stack backtrace:
      0: rust_begin_unwind
                at 
/rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:652:5
      1: core::panicking::panic_fmt
                at 
/rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:72:14
      2: core::result::unwrap_failed
                at 
/rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/result.rs:1654:5
      3: core::result::Result<T,E>::expect
                at 
/rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/result.rs:1034:23
      4: df_sql_bug::main::{{closure}}
                at ./src/main.rs:276:15
      5: tokio::runtime::park::CachedParkThread::block_on::{{closure}}
                at 
/Users/murariuf/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/park.rs:281:63
      6: tokio::runtime::coop::with_budget
                at 
/Users/murariuf/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/coop.rs:107:5
      7: tokio::runtime::coop::budget
                at 
/Users/murariuf/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/coop.rs:73:5
      8: tokio::runtime::park::CachedParkThread::block_on
                at 
/Users/murariuf/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/park.rs:281:31
      9: tokio::runtime::context::blocking::BlockingRegionGuard::block_on
                at 
/Users/murariuf/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/context/blocking.rs:66:9
     10: 
tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}}
                at 
/Users/murariuf/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/scheduler/multi_thread/mod.rs:87:13
     11: tokio::runtime::context::runtime::enter_runtime
                at 
/Users/murariuf/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/context/runtime.rs:65:16
     12: tokio::runtime::scheduler::multi_thread::MultiThread::block_on
                at 
/Users/murariuf/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/scheduler/multi_thread/mod.rs:86:9
     13: tokio::runtime::runtime::Runtime::block_on
                at 
/Users/murariuf/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.38.0/src/runtime/runtime.rs:349:45
     14: df_sql_bug::main
                at ./src/main.rs:307:5
     15: core::ops::function::FnOnce::call_once
                at 
/rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:250:5
   note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose 
backtrace.
   ```


-- 
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

Reply via email to