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

Method parse_avro_schema_option

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

Source from the content-addressed store, hash-verified

2259 }
2260
2261 fn parse_avro_schema_option(&mut self) -> Result<AvroSchemaOption<Raw>, ParserError> {
2262 self.expect_keywords(&[CONFLUENT, WIRE, FORMAT])?;
2263 Ok(AvroSchemaOption {
2264 name: AvroSchemaOptionName::ConfluentWireFormat,
2265 value: self.parse_optional_option_value()?,
2266 })
2267 }
2268
2269 fn parse_glue_avro_option(&mut self) -> Result<GlueAvroOption<Raw>, ParserError> {
2270 self.expect_keywords(&[SCHEMA, NAME])?;

Callers

nothing calls this directly

Calls 2

expect_keywordsMethod · 0.80

Tested by

no test coverage detected