(&mut self)
| 4325 | } |
| 4326 | |
| 4327 | fn parse_table_option(&mut self) -> Result<TableOption<Raw>, ParserError> { |
| 4328 | let name = self.parse_table_option_name()?; |
| 4329 | let value = match name { |
| 4330 | TableOptionName::PartitionBy => self.parse_optional_option_value(), |
| 4331 | TableOptionName::RetainHistory => self.parse_option_retain_history(), |
| 4332 | TableOptionName::RedactedTest => self.parse_optional_option_value(), |
| 4333 | }?; |
| 4334 | Ok(TableOption { name, value }) |
| 4335 | } |
| 4336 | |
| 4337 | fn parse_index_option_name(&mut self) -> Result<IndexOptionName, ParserError> { |
| 4338 | self.expect_keywords(&[RETAIN, HISTORY])?; |
nothing calls this directly
no test coverage detected