skamalj opened a new issue, #559:
URL: https://github.com/apache/arrow-ballista/issues/559

   **Describe the bug**
   I am trying to query a csv file from S3. using ballista-cli. I get "No 
object store found" error
   
   Ballista CLI v0.10.0
   
   ❯ CREATE EXTERNAL TABLE foo2 (a INT, b INT) STORED AS CSV LOCATION 
's3://skamalj-s3/data.csv';
   0 rows in set. Query took 0.000 seconds.
   ❯ SELECT * FROM foo2;
   [2022-12-09T10:46:59Z ERROR 
ballista_scheduler::scheduler_server::query_stage_scheduler] Error planning job 
QnD94VQ: DataFusionError(Execution("No object store available for 
s3://skamalj-s3/data.csv"))
   [2022-12-09T10:46:59Z ERROR 
ballista_scheduler::scheduler_server::query_stage_scheduler] Job QnD94VQ 
failed: Error planning job QnD94VQ: DataFusionError(Execution("No object store 
available for s3://skamalj-s3/data.csv"))
   [2022-12-09T10:46:59Z ERROR 
ballista_core::execution_plans::distributed_query] Job QnD94VQ failed: Error 
planning job QnD94VQ: DataFusionError(Execution("No object store available for 
s3://skamalj-s3/data.csv"))
   DataFusionError(ArrowError(ExternalError(Execution("Job QnD94VQ failed: 
Error planning job QnD94VQ: DataFusionError(Execution(\"No object store 
available for s3://skamalj-s3/data.csv\"))"))))
   ❯
   
   **To Reproduce**
   Steps are copied above. data.csv file is created using command ```$ echo 
"1,2" > data.csv```
   
   **Expected behavior**
   Should return results similar to when queried from local csv.
   
   **Additional context**
   This is using cargo install for scheduler and executor.  Version 0.10
   aws credentials are set on the local machine and aws s3 ls command on same 
machine returns the listing. 
   


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

Reply via email to