Update row conditions

This commit is contained in:
Anna Saiapina 2024-09-25 14:10:46 +00:00 committed by GCP Dataform
parent b1d74d45d1
commit 52d562c5c4
2 changed files with 4 additions and 4 deletions

View File

@ -7,9 +7,9 @@ config {
nonNull: ["AGENT_ID", "TIMESTAMP", "STATE"],
rowConditions: [
'STATE_GROUP <> "NOT_MAPPED"',
'AGENT_ID <> "0" AND AGENT_NAME <> "NOT_MAPPED"',
'AGENT_ID = "0" or (AGENT_ID <> "0" AND AGENT_NAME <> "NOT_MAPPED")',
'STATE_ID <> 0',
'REASON_CODE is not null and REASON_CODE_ID <> 0'
'REASON_CODE is null or (REASON_CODE is not null and REASON_CODE_ID <> 0)'
]
},
tags: ["agent_status_report"],

View File

@ -7,9 +7,9 @@ config {
nonNull: ["AGENT_ID", "TIMESTAMP", "STATE"],
rowConditions: [
'STATE_GROUP <> "NOT_MAPPED"',
'AGENT_ID <> "0" AND AGENT_NAME <> "NOT_MAPPED"',
'AGENT_ID = "0" or (AGENT_ID <> "0" AND AGENT_NAME <> "NOT_MAPPED")',
'STATE_ID <> 0',
'REASON_CODE is not null and REASON_CODE_ID <> 0'
'REASON_CODE is null or (REASON_CODE is not null and REASON_CODE_ID <> 0)'
]
},
tags: ["agent_status_report"],