m-mueller678 opened a new issue, #13744:
URL: https://github.com/apache/datafusion/issues/13744

   ### Is your feature request related to a problem or challenge?
   
   I am trying to run datafusion benchmarks on the hermit unikernel. Hermit 
does not support changing the current working directory. Currently, the TPC-H 
benchmark loads the SQL for queries from two possible paths (in 
`get_query_sql`):
   ```rust
   let possibilities = vec![
       format!("queries/q{query}.sql"),
       format!("benchmarks/queries/q{query}.sql"),
   ];
   ```
   Due to limitations of hermit, I can not put the files at either of those 
locations.
   
   ### Describe the solution you'd like
   
   I would like to be able to specify a custom path, just like I can for data:
   ```shell
   ./benchmark_bin tpch --path /root/benchmarks/data --queries 
/root/benchmarks/queries
   ```
   
   ### Describe alternatives you've considered
   
   Currently, I am using a patched version of datafusion with the hard-coded 
path replaced
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to