Hi,
Can you please clarify when is better to use one or another data delivery (ResultData or Attributes)? In which cases?
Thanks
Ostap
new_file = pdg.File("example.txt", "file/txt", 0, True) work_item.setFileAttrib("example", new_file)
Ostap
Can you please explain how you would you use tag in attributes?
# Print paths/tag attrib = work_item['file_attrib'] for file in attrib.values: print(file.path + " : " + file.tag) # Add new file example_file = pdg.File("example.txt", "file/txt", 0, True) work_item.setFileAttrib("file", example_file, 0) # Available in the next daily build tagged_files = work_item['file_attrib'].valuesForTag('file/txt') specific_file = work_item['file_attrib'].valueForTag(1, 'file/txt')
OstapNo, they don't. The only thing that works with the caching system are work item results – I should have mentioned that in my last post.
Does attribute with tag works with PDG file caching system?
OstapResult data can be concatenated on partitions because they have more restrictions than regular attributes, and they're managed by PDG internally. That limitation has been fixed in the next release and all partitioner nodes will have advanced options for merging attributes. It's not possible to backport that to 18.0 because it involved large internal changes to PDG's attribute storage.
Why do you differentiate concatenation in partitions with resultData and attributes?
tpetrickIn the conclusion that. Is it possible to say:OstapNo, they don't. The only thing that works with the caching system are work item results – I should have mentioned that in my last post.
Does attribute with tag works with PDG file caching system?
Ostap
In the conclusion that. Is it possible to say:
If your workitem result is a file on the disk and you want to use caching mechanism then you need to use “resulData” output
Ostap
Also, since we have `resultDataForTag(tag)` then is it possible to add `expectedResultDataForTag(tag)`?