27 Jan 2024 11:24 PM - edited 30 Jan 2024 01:36 PM
When I run some like the first DQL below it works fine. In the result one field is the query string which notes the 2nd DQL. However, entities does not seem to exist as I get a ''entities isn't a valid data object' connected to the entities keyword and am not able to run the query. Any plan to fix this? I'm assuming this 2nd DQL is supposed to show you all container groups.
My main concern with bringing this up is there something that should be updated here so the results don't state 'fetch entities' if entities doesn't seem to exist? I'm not so much concerned with a work around to get the information.
fetch dt.system.data_objects
| filter name == "dt.entity.container_group"
fetch entities | filter entity.type == "dt.entity.container_group"
28 Jan 2024 09:15 AM
Hi @sivart_89,
Would you like to list of your container groups?
Best regards,
Mizső
29 Jan 2024 07:31 PM
So does the query string that is noted need to be updated then? My question is more around why is all, if not a bunch of the results of something like 'fetch dt.system.data_objects' show the query string to be something like fetch entities | filter entity.type == "<name>".
So not so much how do I get container groups but why is there mention of 'fetch entities' in the DQL if entities is invalid.
30 Jan 2024 07:53 AM
Hi,
You can use string functions:
fetch dt.system.data_objects
| filter matchesValue(name, "dt.entity.process_group")
Best regards
30 Jan 2024 01:37 PM - edited 10 Jul 2024 03:15 AM
Thank you. I have updated my original post as it was a little misleading before. I am not so much worried about how to get the data but rather why is 'fetch entities' noted for the query string if entities doesn't seem to exist and be valid DQL.