Skip to content

Commit b89037f

Browse files
authored
Add references to github issue (#11784)
1 parent 0332eb5 commit b89037f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

datafusion/core/src/datasource/listing/table.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ impl TableProvider for ListingTable {
743743
filters: &[Expr],
744744
limit: Option<usize>,
745745
) -> Result<Arc<dyn ExecutionPlan>> {
746-
// TODO remove downcast_ref from here?
746+
// TODO (https://github.com/apache/datafusion/issues/11600) remove downcast_ref from here?
747747
let session_state = state.as_any().downcast_ref::<SessionState>().unwrap();
748748
let (mut partitioned_file_lists, statistics) = self
749749
.list_files_for_scan(session_state, filters, limit)
@@ -883,7 +883,7 @@ impl TableProvider for ListingTable {
883883
// Get the object store for the table path.
884884
let store = state.runtime_env().object_store(table_path)?;
885885

886-
// TODO remove downcast_ref from here?
886+
// TODO (https://github.com/apache/datafusion/issues/11600) remove downcast_ref from here?
887887
let session_state = state.as_any().downcast_ref::<SessionState>().unwrap();
888888
let file_list_stream = pruned_partition_list(
889889
session_state,

datafusion/core/src/datasource/listing_table_factory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl TableProviderFactory for ListingTableFactory {
5252
state: &dyn Session,
5353
cmd: &CreateExternalTable,
5454
) -> Result<Arc<dyn TableProvider>> {
55-
// TODO remove downcast_ref from here. Should file format factory be an extension to session state?
55+
// TODO (https://github.com/apache/datafusion/issues/11600) remove downcast_ref from here. Should file format factory be an extension to session state?
5656
let session_state = state.as_any().downcast_ref::<SessionState>().unwrap();
5757
let file_format = session_state
5858
.get_file_format_factory(cmd.file_type.as_str())

0 commit comments

Comments
 (0)