Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
924060929 committed Jul 10, 2024
1 parent ab3ecd0 commit 7bb9003
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
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 @@ -38,6 +40,12 @@ suite("eliminate_outer_join") {
);
"""

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

qt_left_outer """
explain shape plan select * from t t1 left outer join t t2 on t1.id = t2.id where t2.score > 10;
"""
Expand Down
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
Expand Down Expand Up @@ -34,6 +36,12 @@ suite("query51") {
sql 'set dump_nereids_memo=false'
sql "set disable_nereids_rules=PRUNE_EMPTY_PARTITION"

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

def ds = """WITH web_v1 as (
select
ws_item_sk item_sk, d_date,
Expand Down

0 comments on commit 7bb9003

Please sign in to comment.