Skip to content

Commit

Permalink
fix IDG (apache#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
zy-kkk committed Oct 24, 2022
1 parent 58ca80b commit 4ffcedc
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions regression-test/data/usercases/IDG/sql/q05.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
-- This file is automatically generated. You should know what you did if you want to edit this
-- !q05 --
0

-- !q05_2 --
5

3 changes: 3 additions & 0 deletions regression-test/data/usercases/IDG/sql/q06.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
-- This file is automatically generated. You should know what you did if you want to edit this
-- !q06 --
0

-- !q06_2 --
8

3 changes: 3 additions & 0 deletions regression-test/data/usercases/IDG/sql/q07.out
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
-- !q07 --
0

-- !q07_2 --
0

1 change: 1 addition & 0 deletions regression-test/suites/usercases/IDG/sql/q05.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
set enable_insert_strict = false;
insert into ads_human_effect
select first_tag,
second_tag,
Expand Down
1 change: 1 addition & 0 deletions regression-test/suites/usercases/IDG/sql/q06.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
set enable_insert_strict = false;
insert into ads_medical_invest_incident
select *
from (with temp as (select if(year(financing_date) = year('2022-08-01 00:00:00'), case cast((month('2022-08-01 00:00:00') - 1) / 3 as int)
Expand Down
1 change: 1 addition & 0 deletions regression-test/suites/usercases/IDG/sql/q07.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
set enable_insert_strict = false;
insert into ads_new_onhand_order
select *, '2022-08-01 00:00:00'
from (
Expand Down

0 comments on commit 4ffcedc

Please sign in to comment.