Skip to content

Commit

Permalink
fix regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
seawinde committed Nov 14, 2024
1 parent 3654e19 commit e0149ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
5 changes: 3 additions & 2 deletions regression-test/suites/mv_p0/ssb/q_1_1/q_1_1.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,11 @@ suite ("mv_ssb_q_1_1") {
AND LO_ORDERDATE <= 19931231
AND LO_DISCOUNT >= 1 AND LO_DISCOUNT <= 3
AND LO_QUANTITY < 25
GROUP BY LO_ORDERKEY;""")
GROUP BY
LO_ORDERKEY;""")

sql """INSERT INTO lineorder_flat (LO_ORDERDATE, LO_ORDERKEY, LO_LINENUMBER, LO_CUSTKEY, LO_PARTKEY, LO_SUPPKEY, LO_ORDERPRIORITY, LO_SHIPPRIORITY, LO_QUANTITY, LO_EXTENDEDPRICE, LO_ORDTOTALPRICE, LO_DISCOUNT, LO_REVENUE, LO_SUPPLYCOST, LO_TAX, LO_COMMITDATE, LO_SHIPMODE,C_NAME,C_ADDRESS,C_CITY,C_NATION,C_REGION,C_PHONE,C_MKTSEGMENT,S_NAME,S_ADDRESS,S_CITY,S_NATION,S_REGION,S_PHONE,P_NAME,P_MFGR,P_CATEGORY,P_BRAND,P_COLOR,P_TYPE,P_SIZE,P_CONTAINER)
VALUES (19930101 , 2 , 2 , 2 , 2 , 2 ,'2',2 ,2 ,2 ,2 ,2 ,2 ,2 ,'2023-06-09','shipmode','name','address','city','nation','region','phone','mktsegment','name','address','city','nation','region','phone','name','mfgr','category','brand','color','type',4,'container');"""
VALUES (19930101 , 2 , 2 , 2 , 2 , 2 ,'2',2 ,2 ,2 ,2 ,2 ,2 ,2 ,2 ,'2023-06-09','shipmode','name','address','city','nation','region','phone','mktsegment','name','address','city','nation','region','phone','name','mfgr','category','brand','color','type',4,'container');"""

qt_select_star "select * from lineorder_flat order by 1,2, P_MFGR;"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,6 @@ suite("nested_materialized_view") {
sql """alter table lineitem modify column l_comment set stats ('row_count'='5');"""
sql """alter table orders modify column o_comment set stats ('row_count'='8');"""
sql """alter table partsupp modify column ps_comment set stats ('row_count'='2');"""
sql """alter table lineorder modify column lo_comment set stats ('row_count'='100');"""
sql """alter table customer modify column c_comment set stats ('row_count'='50');"""
sql """alter table supplier modify column s_comment set stats ('row_count'='30');"""
sql """alter table part modify column p_comment set stats ('row_count'='40');"""
sql """alter table date modify column d_comment set stats ('row_count'='20');"""

// simple nested materialized view
def mv1_0_inner_mv = """
Expand Down

0 comments on commit e0149ac

Please sign in to comment.