r4ntix opened a new issue, #6577:
URL: https://github.com/apache/arrow-datafusion/issues/6577

   ### Describe the bug
   
   The tests for `datafusion-cli` is failing in the current main branch, but 
our CI doesn't find it.
   ```shell
   $ cargo test
      Compiling datafusion-cli v26.0.0 
(/Users/r4ntix/Workspace/github/arrow-datafusion/datafusion-cli)
   error[E0277]: the `?` operator can only be applied to values that implement 
`Try`
      --> datafusion-cli/src/exec.rs:251:17
       |
   251 |                 create_external_table(&ctx, cmd)?;
       |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator 
cannot be applied to type `impl Future<Output = std::result::Result<(), 
datafusion::error::DataFusionError>>`
       |
       = help: the trait `Try` is not implemented for `impl Future<Output = 
std::result::Result<(), datafusion::error::DataFusionError>>`
   help: consider `await`ing on the `Future`
       |
   251 |                 create_external_table(&ctx, cmd).await?;
       |                                                 ++++++
   
   For more information about this error, try `rustc --explain E0277`.
   error: could not compile `datafusion-cli` due to previous error
   ```
   
   I noticed that we currently exclude `datafusion-cli` from workspace.
   
   
   ### To Reproduce
   
   ```
   $ cd datafusion-cli
   $ cargo test
   ```
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to