artifact_id
for OP Atlas sourced projects is not being assigned on production runs
#3267
Labels
c:data
Gathering data (e.g. indexing)
Milestone
Which area(s) are affected? (leave empty if unsure)
Other
To Reproduce
Let's take the following query:
Production Trino gives us:
Meanwhile, if we test locally, we get:
Describe the Bug
The issue is likely with
oso_id
handling of null artifact namespaces.The logic for assigning
artifact_id
inint_artifacts_by_project_in_op_atlas
is:In the oso_id macro we see:
However, in our OP Atlas staging models, we are assigning namespaces as
NULL::VARCHAR
rather than''
.For example:
Expected Behavior
We should be getting the
artifact_id
to generate -- and it should match the sameartifact_id
we get for the same artifact from OSSD. Currently, this only works for Github artifacts (that are available in both OSSD and OP Atlas). For example:returns:
The text was updated successfully, but these errors were encountered: