Skip to content

Commit

Permalink
add show variable
Browse files Browse the repository at this point in the history
  • Loading branch information
924060929 committed Aug 5, 2024
1 parent 1a1b86b commit 8fff252
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions regression-test/suites/nereids_syntax_p0/match.groovy
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8fff252

Please sign in to comment.