Parses the set of valid formats
(&mut self)
| 1146 | |
| 1147 | /// Parses the set of valid formats |
| 1148 | fn parse_file_format(&mut self) -> Result<String, DataFusionError> { |
| 1149 | let token = self.parser.next_token(); |
| 1150 | match &token.token { |
| 1151 | Token::Word(w) => parse_file_type(&w.value), |
| 1152 | _ => self.expected("one of ARROW, PARQUET, NDJSON, or CSV", &token), |
| 1153 | } |
| 1154 | } |
| 1155 | |
| 1156 | /// Parses (key value) style options into a map of String --> [`Value`]. |
| 1157 | /// |
no test coverage detected