Datahub dataimporter: how can I pick single attributes of an array for data mapping #13092
Unanswered
divite
asked this question in
Q&A / Support
Replies: 1 comment
-
The input data is generated via GraphQL. As a workaround I am able to set an alias for the fullpath resulting in something like
This can be used in a transformation pipeline like the following: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an input structure as follows:
I try to make the relationship to the manufacturer while importing the product. The manufacturer is a many-to-one relationship on the product. I try to match the manufacturer by its full path (treating it as an internal URI for the object).
How can I reduce the manufacturer sub-array to it's single attribute
fullpath
, so that afterwards I could use the Load DataObject transformation to reference the existing data object?The closest I could get for now with the available transformations is using the LoadDataObject (via path) on the sub-array. In the preview this coincidentally results in an array containing only a single manufacturer data object. When trying to import the file I get warnings about not being able to map the values of the other attributes (like
address
) and the import does not get processed.The message worker process gives the following error, that indicates that the data object is still encapsulated in an array:
Beta Was this translation helpful? Give feedback.
All reactions