Distinguish between tables and nullary functions in FROM (#506)

This commit is contained in:
Riccardo Azzolini 2022-05-25 22:01:13 +02:00 committed by GitHub
parent cd66034a4a
commit 901f5b974f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 39 additions and 29 deletions

View file

@ -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![],
}
}