Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
924060929 committed Jul 17, 2024
1 parent 3eed7b7 commit 1bb18d7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions regression-test/suites/query_p0/cache/sql_cache.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 @@ -25,6 +27,12 @@ suite("sql_cache") {
def tableName = "test_sql_cache"
sql "ADMIN SET FRONTEND CONFIG ('cache_last_version_interval_second' = '0')"

def variables = sql "show variables"
def variableString = variables.stream()
.map { it.toString() }
.collect(Collectors.joining("\n"))
logger.info("Variables:\n${variableString}")

sql """ DROP TABLE IF EXISTS ${tableName} """
sql """
CREATE TABLE IF NOT EXISTS ${tableName} (
Expand Down

0 comments on commit 1bb18d7

Please sign in to comment.