mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-18 21:20:15 +00:00
feat: Support TABLE
keyword with SELECT INTO
(#487)
This commit is contained in:
parent
6d057ef4df
commit
6b2fc8102f
3 changed files with 11 additions and 3 deletions
|
@ -3138,10 +3138,12 @@ impl<'a> Parser<'a> {
|
|||
.parse_one_of_keywords(&[Keyword::TEMP, Keyword::TEMPORARY])
|
||||
.is_some();
|
||||
let unlogged = self.parse_keyword(Keyword::UNLOGGED);
|
||||
let table = self.parse_keyword(Keyword::TABLE);
|
||||
let name = self.parse_object_name()?;
|
||||
Some(SelectInto {
|
||||
temporary,
|
||||
unlogged,
|
||||
table,
|
||||
name,
|
||||
})
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue