We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4914e6 commit 3b5e793Copy full SHA for 3b5e793
1 file changed
src/dialect/snowflake.rs
@@ -878,14 +878,10 @@ fn parse_select_items_for_data_load(
878
parser.parse_select_item()?,
879
)),
880
}
881
- match parser.next_token().token {
882
- Token::Comma => {
883
- // continue
884
- }
885
- _ => {
886
- parser.prev_token(); // need to move back
887
- break;
888
+ if matches!(parser.peek_token_ref().token, Token::Comma) {
+ parser.advance_token();
+ } else {
+ break;
889
890
891
Ok(Some(select_items))
0 commit comments