MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / parse_create_sink_connection

Method parse_create_sink_connection

src/sql-parser/src/parser.rs:4047–4056  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

4045 }
4046
4047 fn parse_create_sink_connection(&mut self) -> Result<CreateSinkConnection<Raw>, ParserError> {
4048 match self.expect_one_of_keywords(&[KAFKA, ICEBERG])? {
4049 KAFKA => self.parse_create_kafka_sink_connection(),
4050 ICEBERG => {
4051 self.expect_keyword(CATALOG)?;
4052 self.parse_create_iceberg_sink_connection()
4053 }
4054 _ => unreachable!(),
4055 }
4056 }
4057
4058 fn parse_create_view(&mut self) -> Result<Statement<Raw>, ParserError> {
4059 let mut if_exists = if self.parse_keyword(OR) {

Callers 1

parse_create_sinkMethod · 0.80

Tested by

no test coverage detected