Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function buildSourceQuery(): string {
p.description,
p.project_logo,
p.project_status,
p.project_maturity_level,
p.project_admin_category,
ps.mapped_project_id,
Comment thread
joanagmaia marked this conversation as resolved.
ps.mapped_project_name,
ps.mapped_project_slug,
Expand Down
2 changes: 1 addition & 1 deletion services/apps/pcc_sync_worker/src/parser/rowParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export function parsePccRow(rawRows: Record<string, unknown>[]): ParseResult {
pccSlug: leafSlug,
name,
status: mappedStatus,
maturity: trimOrNull(firstRaw.PROJECT_MATURITY_LEVEL),
maturity: trimOrNull(firstRaw.PROJECT_ADMIN_CATEGORY),
description: trimOrNull(firstRaw.DESCRIPTION),
logoUrl: trimOrNull(firstRaw.PROJECT_LOGO),
segmentIdFromSnowflake: trimOrNull(firstRaw.SEGMENT_ID),
Expand Down
2 changes: 1 addition & 1 deletion services/apps/pcc_sync_worker/src/parser/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface PccParquetRow {
DESCRIPTION: string | null
PROJECT_LOGO: string | null
PROJECT_STATUS: string | null
PROJECT_MATURITY_LEVEL: string | null
PROJECT_ADMIN_CATEGORY: string | null
/** ID of the ancestor at this hierarchy level (hierarchy_level=1 → leaf itself). */
MAPPED_PROJECT_ID: string | null
/** Name of the ancestor at this hierarchy level. */
Expand Down
Loading