In LookML, Does the tags parameter guarantee the order or sequence of text

Hey Team,

I have a use case where I need to add metadata information to my Explore. To achieve this, I plan to use the tags parameter, which allows me to tag an Explore with text strings and later extract these metadata via API calls.

Example:

explore: customer_information {
  tags: ["Confidential", "Customer Data"]
}

My question is:
If I use tags, will the sequence, order, or position of the text remain unchanged, or is there a possibility that it might get altered?

https://cloud.google.com/looker/docs/reference/param-explore-tags?version=24.18&lookml=new

Is there any alternative approach to achieve the same.

Thanks, Tarang

It looks to me like the data is stored in a JSON, so it will keep the same order when queried - I tried a few tests to verify that it is not alphabetically ordered. So I would see no reason why this would change.

1 Like