Skip to content

Commit

Permalink
KYLIN-4041 minor,fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
vaful authored and nichunen committed Jun 26, 2019
1 parent 9a72b9e commit 55f7140
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
17 changes: 8 additions & 9 deletions kylin-it/src/test/resources/query/sql_verifyContent/query02.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,15 @@
-- This is a sample case


select
concat(meta_categ_name, CAST(null as VARCHAR)) as c1,

select (
case when concat(meta_categ_name, cast(null as varchar)) is null then 'TRUE' else 'FALSE' end ) as C1
from test_kylin_fact
left JOIN edw.test_cal_dt as test_cal_dt
ON test_kylin_fact.cal_dt = test_cal_dt.cal_dt
left JOIN test_category_groupings
ON test_kylin_fact.leaf_categ_id = test_category_groupings.leaf_categ_id AND test_kylin_fact.lstg_site_id = test_category_groupings.site_id
left JOIN edw.test_sites as test_sites
ON test_kylin_fact.lstg_site_id = test_sites.site_id
left join edw.test_cal_dt as test_cal_dt
on test_kylin_fact.cal_dt = test_cal_dt.cal_dt
left join test_category_groupings
on test_kylin_fact.leaf_categ_id = test_category_groupings.leaf_categ_id and test_kylin_fact.lstg_site_id = test_category_groupings.site_id
left join edw.test_sites as test_sites
on test_kylin_fact.lstg_site_id = test_sites.site_id

where meta_categ_name = 'Computers'
group by meta_categ_name
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<dataset>
<expect/>
<expect C1="TRUE "/>
</dataset>

0 comments on commit 55f7140

Please sign in to comment.