This commit is contained in:
2026-04-15 10:36:20 +08:00
parent 43527d6c98
commit f1903bf7bb
811 changed files with 46977 additions and 41706 deletions

View File

@@ -3,15 +3,31 @@ table Dim_PackInfo_Total
column PACK_COD
dataType: string
lineageTag: 9323e255-439d-43d7-8bcc-e0899fab0f01
lineageTag: 51d27cee-ae92-407e-95ba-c213c5984953
summarizeBy: none
sourceColumn: PACK_COD
annotation SummarizationSetBy = Automatic
column PROD_COD
dataType: string
lineageTag: 4afe1097-2c68-4adb-b3de-baffdc15a19a
summarizeBy: none
sourceColumn: PROD_COD
annotation SummarizationSetBy = Automatic
column PROD_DES
dataType: string
lineageTag: 8b229ec4-91e6-4344-b5c6-2452d28d9f99
summarizeBy: none
sourceColumn: PROD_DES
annotation SummarizationSetBy = Automatic
column PROD_DES_C
dataType: string
lineageTag: c097148e-55ca-4597-a5ee-3142502af376
lineageTag: 51c41bf5-7651-4e9d-bd30-428e9d78f74d
summarizeBy: none
sourceColumn: PROD_DES_C
@@ -19,7 +35,7 @@ table Dim_PackInfo_Total
column CMPS_DES
dataType: string
lineageTag: d7694869-02b8-4733-93a6-aaca93dc73ad
lineageTag: fb9f9c15-c261-4e27-8719-2cf2b4fd377c
summarizeBy: none
sourceColumn: CMPS_DES
@@ -27,7 +43,7 @@ table Dim_PackInfo_Total
column CMPS_DES_C
dataType: string
lineageTag: 330a9441-8678-47aa-973e-c5102a3f8102
lineageTag: 80500c33-3a32-4fa7-8068-8072e88e2346
summarizeBy: none
sourceColumn: CMPS_DES_C
@@ -35,45 +51,15 @@ table Dim_PackInfo_Total
column CORP_COD
dataType: string
lineageTag: a77008b0-44ca-4761-9b7f-0d1c3c3184db
lineageTag: 1f5ec6ff-e5d2-4cac-9cfe-4e70c5ae1fc6
summarizeBy: none
sourceColumn: CORP_COD
annotation SummarizationSetBy = Automatic
column CORP_DES
dataType: string
lineageTag: 9cf44325-1c29-49cb-8e37-ea67bbaec653
summarizeBy: none
sourceColumn: CORP_DES
annotation SummarizationSetBy = Automatic
column PROD_DES
dataType: string
lineageTag: 33ecc8f4-4eed-4804-ac37-d913405ac8ff
summarizeBy: none
sourceColumn: PROD_DES
annotation SummarizationSetBy = Automatic
column DATA_SOURCE
dataType: string
lineageTag: ce1d238c-51e3-4839-81c1-491ef8b93747
summarizeBy: none
sourceColumn: DATA_SOURCE
annotation SummarizationSetBy = Automatic
column PACK_SOURCE = [PACK_COD] & [DATA_SOURCE]
lineageTag: 7920d032-e4d9-4440-97e1-afe0dd301efa
summarizeBy: none
annotation SummarizationSetBy = Automatic
partition Dim_PackInfo_Total = m
mode: import
queryGroup: OLD\首页
queryGroup: Dim
source = ```
let
Source =
@@ -87,9 +73,22 @@ table Dim_PackInfo_Total
){
[Name = CatalogName, Kind = "Database"]
}[Data],
"SELECT DISTINCT PACK_COD,PROD_DES,PROD_DES_C,CMPS_DES,CMPS_DES_C,CORP_COD,CORP_DES,DATA_SOURCE
FROM DM.DM_TD_EXTERNAL_PACKINFO
"
SELECT
T1.PACK_COD,
MAX(T1.PROD_COD) AS PROD_COD,
MAX(T1.PROD_DES) AS PROD_DES,
MAX(T1.PROD_DES_C) AS PROD_DES_C,
MAX(T1.CMPS_DES) AS CMPS_DES,
MAX(T1.CMPS_DES_C) AS CMPS_DES_C,
MAX(T1.CORP_COD) AS CORP_COD
FROM
DM.dm_td_external_packinfo T1
WHERE
t1.PROD_COD IS NOT NULL
AND T1.PACK_COD IS NOT NULL
GROUP BY
T1.PACK_COD
"
& UsingLimit,
null,