Skip to content

Commit

Permalink
Update datafusion/sql/src/parser.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Huang <[email protected]>
  • Loading branch information
Lordworms and Weijun-H authored Feb 19, 2024
1 parent 478c91d commit 7830191
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions datafusion/sql/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ impl<'a> DFParser<'a> {
) -> Result<Self, ParserError> {
let mut tokenizer = Tokenizer::new(dialect, sql);
let tokens = tokenizer.tokenize()?;

Ok(DFParser {
parser: Parser::new(dialect).with_tokens(tokens),
})
Expand Down

0 comments on commit 7830191

Please sign in to comment.