(&mut self)
| 3245 | } |
| 3246 | |
| 3247 | fn parse_subsource_references(&mut self) -> Result<ExternalReferenceExport, ParserError> { |
| 3248 | let reference = self.parse_item_name()?; |
| 3249 | let subsource = if self.parse_one_of_keywords(&[AS, INTO]).is_some() { |
| 3250 | Some(self.parse_item_name()?) |
| 3251 | } else { |
| 3252 | None |
| 3253 | }; |
| 3254 | |
| 3255 | Ok(ExternalReferenceExport { |
| 3256 | reference, |
| 3257 | alias: subsource, |
| 3258 | }) |
| 3259 | } |
| 3260 | |
| 3261 | /// Parses the column section of a CREATE SOURCE statement which can be |
| 3262 | /// empty or a comma-separated list of column identifiers and a single key |
nothing calls this directly
no test coverage detected