mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-10-17 01:07:19 +00:00
Distinguish between tables and nullary functions in FROM (#506)
This commit is contained in:
parent
cd66034a4a
commit
901f5b974f
9 changed files with 39 additions and 29 deletions
|
@ -177,7 +177,7 @@ pub fn table(name: impl Into<String>) -> TableFactor {
|
|||
TableFactor::Table {
|
||||
name: ObjectName(vec![Ident::new(name.into())]),
|
||||
alias: None,
|
||||
args: vec![],
|
||||
args: None,
|
||||
with_hints: vec![],
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue