File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -179,12 +179,8 @@ impl Dialect for SnowflakeDialect {
179179 ) ) ;
180180 } else if parser. parse_keyword ( Keyword :: DATABASE ) {
181181 return Some ( parse_create_database ( or_replace, transient, parser) ) ;
182- } else if parser. parse_keyword ( Keyword :: EXTERNAL ) {
183- if parser. parse_keyword ( Keyword :: VOLUME ) {
184- return Some ( parse_create_external_volume ( or_replace, parser) ) ;
185- } else {
186- parser. prev_token ( ) ;
187- }
182+ } else if parser. parse_keywords ( & [ Keyword :: EXTERNAL , Keyword :: VOLUME ] ) {
183+ return Some ( parse_create_external_volume ( or_replace, parser) ) ;
188184 } else {
189185 // need to go back with the cursor
190186 let mut back = 1 ;
Original file line number Diff line number Diff line change @@ -939,9 +939,9 @@ define_keywords!(
939939 URL ,
940940 USAGE ,
941941 USE ,
942- USE_PRIVATELINK_ENDPOINT ,
943942 USER ,
944943 USER_RESOURCES ,
944+ USE_PRIVATELINK_ENDPOINT ,
945945 USING ,
946946 UUID ,
947947 VACUUM ,
You can’t perform that action at this time.
0 commit comments