diff --git a/regression-test/suites/nereids_syntax_p0/match.groovy b/regression-test/suites/nereids_syntax_p0/match.groovy index b49d88b105ebbb..57e1dc82b45ae4 100644 --- a/regression-test/suites/nereids_syntax_p0/match.groovy +++ b/regression-test/suites/nereids_syntax_p0/match.groovy @@ -1,3 +1,5 @@ +import java.util.stream.Collectors + // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information @@ -186,6 +188,12 @@ suite("match") { contains("INNER JOIN") } + def variables = sql "show variables" + def variableString = variables.stream() + .map { it.toString() } + .collect(Collectors.joining("\n")) + logger.info("Variables:\n${variableString}") + order_qt_match_join """ select * from test_nereids_match_select a