QUESTION

I noticed in the Data Explorer that anĀ event_type_id has a string and variant type which I want to use in a where condition like where event_type_id = '123'.

Screenshot 2023-05-18 at 2.53.44 PM.png

Should I add a conditional for variant type variables?

ANSWER

You don't need to add a conditional for the variant type. You would want to base the conditional off the type that is in the schema. In this example, event_type_id would be string type.

Screenshot 2023-05-18 at 2.57.39 PM.png