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
SQL:
insert into xxxxxxxxxxxxxxx
select
NVL (area_name, '全省'),
count(
distinct case
when jc_fir_lvl_svctype = '移网'
and is_iot = '0'
and is_mon_dev = '1' then user_id
end
) + count(
distinct case
when jc_fir_lvl_svctype = '宽带'
and is_iot = '0'
and is_mon_dev = '1' then user_id
end
) 发展量,
count(
distinct case
when jc_fir_lvl_svctype = '移网'
and is_iot = '0'
and is_mon_dev = '1' then user_id
end
) 移网发展量,
count(
distinct case
when jc_fir_lvl_svctype = '宽带'
and is_iot = '0'
and is_mon_dev = '1' then user_id
end
) 宽带发展量
from
PER_086_DWE.DWE_V_D_CUS_GRID_USER_INFO_Z
where
month_id = '202405'
and DAY_ID = '29'
and SCENE_2ND in ('城区直销', '农村直销')
and SCENE_TYPE <> '政企'
and collection_type = 'HQ'
group by
rollup (area_name)
输出:
c:\RPA_TEST\python_data_lineage-main>python dlineage.py /t mysql /text /s /f ..\test.sql
..\test.sql is not a text file.
NVL (area_name, '全省') depends on: PER_086_DWE.DWE_V_D_CUS_GRID_USER_INFO_Z.area_name
The text was updated successfully, but these errors were encountered:
您好! 我好像没在用这个项目了,用其他的。
18687116755
发件人: OneOutlier
发送时间: 2025-03-19 12:24
收件人: sqlparser/python_data_lineage
抄送: wangxn52; Author
主题: Re: [sqlparser/python_data_lineage] 有count函数的字段没列出来 (Issue #2)
你好朋友,请问一下,这个仓库项目会在下载到本地90天之后失效吗,你现在还能稳定使用吗
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
OneOutlier left a comment (sqlparser/python_data_lineage#2)
你好朋友,请问一下,这个仓库项目会在下载到本地90天之后失效吗,你现在还能稳定使用吗
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
SQL:
insert into xxxxxxxxxxxxxxx
select
NVL (area_name, '全省'),
count(
distinct case
when jc_fir_lvl_svctype = '移网'
and is_iot = '0'
and is_mon_dev = '1' then user_id
end
) + count(
distinct case
when jc_fir_lvl_svctype = '宽带'
and is_iot = '0'
and is_mon_dev = '1' then user_id
end
) 发展量,
count(
distinct case
when jc_fir_lvl_svctype = '移网'
and is_iot = '0'
and is_mon_dev = '1' then user_id
end
) 移网发展量,
count(
distinct case
when jc_fir_lvl_svctype = '宽带'
and is_iot = '0'
and is_mon_dev = '1' then user_id
end
) 宽带发展量
from
PER_086_DWE.DWE_V_D_CUS_GRID_USER_INFO_Z
where
month_id = '202405'
and DAY_ID = '29'
and SCENE_2ND in ('城区直销', '农村直销')
and SCENE_TYPE <> '政企'
and collection_type = 'HQ'
group by
rollup (area_name)
输出:
c:\RPA_TEST\python_data_lineage-main>python dlineage.py /t mysql /text /s /f ..\test.sql
..\test.sql is not a text file.
NVL (area_name, '全省') depends on: PER_086_DWE.DWE_V_D_CUS_GRID_USER_INFO_Z.area_name
The text was updated successfully, but these errors were encountered: