mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-10-12 23:12:01 +00:00
Merge pull request #89 from benesch/sqlfunction-struct
Extract a SQLFunction struct
This commit is contained in:
commit
a3aaa49a7e
3 changed files with 40 additions and 36 deletions
|
@ -301,12 +301,12 @@ impl Parser {
|
|||
None
|
||||
};
|
||||
|
||||
Ok(ASTNode::SQLFunction {
|
||||
Ok(ASTNode::SQLFunction(SQLFunction {
|
||||
name,
|
||||
args,
|
||||
over,
|
||||
distinct,
|
||||
})
|
||||
}))
|
||||
}
|
||||
|
||||
pub fn parse_window_frame(&mut self) -> Result<Option<SQLWindowFrame>, ParserError> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue