You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sqlstr ="""select l_shipdate from lineitem where l_shipdate in ("1997-05-18", "1996-05-06"); """
44
-
plan = """ref(name="l_shipdate") in ("1996-05-06", "1997-05-18")"""
45
43
order_qt_q02 """${sqlstr}"""
46
44
explain {
47
45
sql("""${sqlstr}""")
48
-
contains """${plan}"""
46
+
contains """ref(name="l_shipdate") in"""
47
+
contains """"1997-05-18""""
48
+
contains """"1996-05-06""""
49
49
}
50
50
51
51
sqlstr = """select l_shipdate, l_shipmode from lineitem where l_shipdate in ("1997-05-18", "1996-05-06") and l_shipmode ="MAIL";"""
52
52
order_qt_q03 """${sqlstr}"""
53
53
explain {
54
54
sql("""${sqlstr}""")
55
-
contains """ref(name="l_shipdate") in ("1996-05-06", "1997-05-18")"""
55
+
contains """ref(name="l_shipdate") in"""
56
+
contains """"1997-05-18""""
57
+
contains """"1996-05-06""""
56
58
contains """ref(name="l_shipmode") =="MAIL""""
57
59
}
58
60
59
61
sqlstr = """select l_shipdate, l_shipmode from lineitem where l_shipdate in ("1997-05-18", "1996-05-06") or NOT(l_shipmode ="MAIL") order by l_shipdate, l_shipmode limit 10"""
60
-
plan = """(ref(name="l_shipdate") in ("1996-05-06", "1997-05-18") or not(ref(name="l_shipmode") =="MAIL"))"""
62
+
plan = """(ref(name="l_shipdate") in ("1997-05-18", "1996-05-06") or not(ref(name="l_shipmode") =="MAIL"))"""
0 commit comments