andygrove commented on code in PR #8265:
URL: https://github.com/apache/arrow-datafusion/pull/8265#discussion_r1398481779
##########
datafusion/core/src/execution/context/mod.rs:
##########
@@ -859,7 +859,7 @@ impl SessionContext {
// check if the file extension matches the expected extension
for path in &table_paths {
let file_name = path.prefix().filename().unwrap_or_default();
- if !path.as_str().ends_with(&option_extension) &&
file_name.contains('.') {
+ if !file_name.ends_with(&option_extension) &&
file_name.contains('.') {
Review Comment:
That doesn't compile for me. Perhaps this method isn't available in the
version of arrow-rs that we are currently using?
```
no method named `is_collection` found for reference `&ListingTableUrl` in
the current scope
```
--
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]