Skip to content

Commit 0ede94b

Browse files
authored
fix: use project_admin_category from SILVER_DIM.PROJECTS (DE-981) (#4296)
Signed-off-by: Joana Maia <jmaia@contractor.linuxfoundation.org>
1 parent cc4d33b commit 0ede94b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

services/apps/pcc_sync_worker/src/activities/exportActivity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function buildSourceQuery(): string {
2424
p.description,
2525
p.project_logo,
2626
p.project_status,
27-
p.project_maturity_level,
27+
p.project_admin_category,
2828
ps.mapped_project_id,
2929
ps.mapped_project_name,
3030
ps.mapped_project_slug,

services/apps/pcc_sync_worker/src/parser/rowParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export function parsePccRow(rawRows: Record<string, unknown>[]): ParseResult {
180180
pccSlug: leafSlug,
181181
name,
182182
status: mappedStatus,
183-
maturity: trimOrNull(firstRaw.PROJECT_MATURITY_LEVEL),
183+
maturity: trimOrNull(firstRaw.PROJECT_ADMIN_CATEGORY),
184184
description: trimOrNull(firstRaw.DESCRIPTION),
185185
logoUrl: trimOrNull(firstRaw.PROJECT_LOGO),
186186
segmentIdFromSnowflake: trimOrNull(firstRaw.SEGMENT_ID),

services/apps/pcc_sync_worker/src/parser/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface PccParquetRow {
1919
DESCRIPTION: string | null
2020
PROJECT_LOGO: string | null
2121
PROJECT_STATUS: string | null
22-
PROJECT_MATURITY_LEVEL: string | null
22+
PROJECT_ADMIN_CATEGORY: string | null
2323
/** ID of the ancestor at this hierarchy level (hierarchy_level=1 → leaf itself). */
2424
MAPPED_PROJECT_ID: string | null
2525
/** Name of the ancestor at this hierarchy level. */

0 commit comments

Comments
 (0)