LucaCappelletti94 commented on code in PR #2245:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2245#discussion_r2874502528
##########
src/parser/mod.rs:
##########
@@ -11028,8 +11028,12 @@ impl<'a> Parser<'a> {
legacy_options.push(opt);
}
let values = if let CopyTarget::Stdin = target {
- self.expect_token(&Token::SemiColon)?;
- self.parse_tsv()
+ if self.peek_token_ref().token == Token::EOF {
Review Comment:
With matches, yes. I cannot use chained if let && because we are still using
2021 and not 2024
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]