File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -236,6 +236,7 @@ define_keywords!(
236236 DUPLICATE ,
237237 DYNAMIC ,
238238 EACH ,
239+ ELASTICSEARCH ,
239240 ELEMENT ,
240241 ELEMENTS ,
241242 ELSE ,
@@ -510,6 +511,7 @@ define_keywords!(
510511 PRIVILEGES ,
511512 PROCEDURE ,
512513 PROGRAM ,
514+ PUBSUB ,
513515 PURGE ,
514516 QUALIFY ,
515517 QUARTER ,
Original file line number Diff line number Diff line change @@ -8397,6 +8397,8 @@ impl<'a> Parser<'a> {
83978397 Keyword :: S3 ,
83988398 Keyword :: SQLSERVER ,
83998399 Keyword :: EVENTHUBS ,
8400+ Keyword :: PUBSUB ,
8401+ Keyword :: ELASTICSEARCH ,
84008402 ] ) {
84018403 Some ( Keyword :: BIGQUERY ) => Ok ( PeerType :: Bigquery ) ,
84028404 Some ( Keyword :: MONGO ) => Ok ( PeerType :: Mongo ) ,
@@ -8406,6 +8408,8 @@ impl<'a> Parser<'a> {
84068408 Some ( Keyword :: S3 ) => Ok ( PeerType :: S3 ) ,
84078409 Some ( Keyword :: SQLSERVER ) => Ok ( PeerType :: SQLServer ) ,
84088410 Some ( Keyword :: EVENTHUBS ) => Ok ( PeerType :: Eventhubs ) ,
8411+ Some ( Keyword :: PUBSUB ) => Ok ( PeerType :: PubSub ) ,
8412+ Some ( Keyword :: ELASTICSEARCH ) => Ok ( PeerType :: Elasticsearch ) ,
84098413 other => {
84108414 let supported_peer_types = [
84118415 "BIGQUERY" ,
@@ -8416,6 +8420,8 @@ impl<'a> Parser<'a> {
84168420 "S3" ,
84178421 "SQLSERVER" ,
84188422 "EVENTHUBS" ,
8423+ "PUBSUB" ,
8424+ "ELASTICSEARCH" ,
84198425 ] ;
84208426 let err = format ! (
84218427 "expected peertype as one of {}, got {:#?}" ,
You can’t perform that action at this time.
0 commit comments