Skip to content
Closed
Prev Previous commit
Next Next commit
modify test table names
  • Loading branch information
wangshuo128 committed Sep 27, 2019
commit 9ad9723b84eb874af9bbf8b89192c8cb2116f219
Original file line number Diff line number Diff line change
Expand Up @@ -2415,21 +2415,21 @@ class SQLQuerySuite extends QueryTest with SQLTestUtils with TestHiveSingleton {

test("SPARK-29213 Make it consistent when get notnull output and generate null " +
"checks in FilterExec") {
withTable("table1", "table2", "table3") {
sql("create table table1(x string)")
sql("create table table2(x bigint)")
sql("create table table3(x string)")
sql("insert into table2 select null as x")
withTable("table_29213_1", "table_29213_2", "table_29213_3") {
sql("create table table_29213_1(x string)")
sql("create table table_29213_2(x bigint)")
sql("create table table_29213_3(x string)")
sql("insert into table_29213_2 select null as x")
sql(
"""
|select t1.x
|from (
| select x from table1) t1
| select x from table_29213_1) t1
|left join (
| select x from (
| select x from table2
| select x from table_29213_2
| union all
| select substr(x,5) x from table3
| select substr(x,5) x from table_29213_3
| ) a
| where length(x)>0
|) t3
Expand Down