BlakeOrth commented on code in PR #19616:
URL: https://github.com/apache/datafusion/pull/19616#discussion_r2662476040
##########
datafusion/execution/src/cache/list_files_cache.rs:
##########
@@ -146,9 +149,12 @@ pub const DEFAULT_LIST_FILES_CACHE_MEMORY_LIMIT: usize =
1024 * 1024; // 1MiB
/// The default cache TTL for the [`DefaultListFilesCache`]
pub const DEFAULT_LIST_FILES_CACHE_TTL: Option<Duration> = None; // Infinite
+#[derive(PartialEq, Eq, Hash, Clone, Debug)]
+pub struct TableScopedPath(pub Option<TableReference>, pub Path);
Review Comment:
I agree with this. I'm also wondering if it might make sense to allow user's
who wish to override the default behavior to define their own scoping parameter
by making this generic?
```rust
pub struct ScopedPath<S> {
pub scope: Option<S>,
pub path: Path,
}
--
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]