Skip to content

Commit 4e258ff

Browse files
authored
use UDTF name in logical plan table scan (#91)
1 parent ea3a2ab commit 4e258ff

File tree

1 file changed

+1
-1
lines changed
  • datafusion/sql/src/relation

1 file changed

+1
-1
lines changed

datafusion/sql/src/relation/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
6666
.get_table_function_source(&tbl_func_name, args)?;
6767
let plan = LogicalPlanBuilder::scan(
6868
TableReference::Bare {
69-
table: "tmp_table".into(),
69+
table: format!("{tbl_func_name}()").into(),
7070
},
7171
provider,
7272
None,

0 commit comments

Comments
 (0)