@@ -5161,7 +5161,7 @@ fn run_explain_analyze(
51615161 query: &str,
51625162 expected_verbose: bool,
51635163 expected_analyze: bool,
5164- expected_format: Option<AnalyzeFormat >,
5164+ expected_format: Option<AnalyzeFormatKind >,
51655165 expected_options: Option<Vec<UtilityOption>>,
51665166) {
51675167 match dialect.verified_stmt(query) {
@@ -5272,7 +5272,7 @@ fn parse_explain_analyze_with_simple_select() {
52725272 "EXPLAIN ANALYZE FORMAT GRAPHVIZ SELECT sqrt(id) FROM foo",
52735273 false,
52745274 true,
5275- Some(AnalyzeFormat::GRAPHVIZ),
5275+ Some(AnalyzeFormatKind::Keyword( AnalyzeFormat::GRAPHVIZ) ),
52765276 None,
52775277 );
52785278
@@ -5281,7 +5281,7 @@ fn parse_explain_analyze_with_simple_select() {
52815281 "EXPLAIN ANALYZE VERBOSE FORMAT JSON SELECT sqrt(id) FROM foo",
52825282 true,
52835283 true,
5284- Some(AnalyzeFormat::JSON),
5284+ Some(AnalyzeFormatKind::Keyword( AnalyzeFormat::JSON) ),
52855285 None,
52865286 );
52875287
@@ -5290,7 +5290,7 @@ fn parse_explain_analyze_with_simple_select() {
52905290 "EXPLAIN ANALYZE VERBOSE FORMAT=JSON SELECT sqrt(id) FROM foo",
52915291 true,
52925292 true,
5293- Some(AnalyzeFormat::JSON),
5293+ Some(AnalyzeFormatKind::Assignment( AnalyzeFormat::JSON) ),
52945294 None,
52955295 );
52965296
@@ -5299,7 +5299,7 @@ fn parse_explain_analyze_with_simple_select() {
52995299 "EXPLAIN VERBOSE FORMAT TEXT SELECT sqrt(id) FROM foo",
53005300 true,
53015301 false,
5302- Some(AnalyzeFormat::TEXT),
5302+ Some(AnalyzeFormatKind::Keyword( AnalyzeFormat::TEXT) ),
53035303 None,
53045304 );
53055305}
0 commit comments