comphead commented on issue #2278:
URL: 
https://github.com/apache/arrow-datafusion/issues/2278#issuecomment-1113738338

   > I haven't tried the scenario described in this report, but I would expect 
to be able to refer to a table named `employee.csv` using `"employee.csv"` (aka 
put it in single quotes).
   > 
   > I don't necessarily think munging the file name is what a user might 
expect.
   
   To solve this we need more details.
   @andygrove put a bug that currently table name is set to a full file path. 
That happens because table name derives from full file path
   
   ```
           Self::scan_csv_with_name(
               object_store,
               path.clone(),
               options,
               projection,
               path, <----- table_name param here
               target_partitions,
           )
   ```
   
   The question is how to derive a table_name correctly. 
   
   


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