I would like to filter off records with certain keys within variant having null values
variant column structure
Column name: specs
{
"color": 32,
"browser": null,
"language": "en"
)
Want something like below:
select * from table where specs:browser is not null
But it doesn't work as this seem to be a json null and not SQL NULL. Is there a way that I can get the values stored as SQL NULL within the variant? I'm more interested in having a straightforward query to filter data rather than writing some functions for conversion.
Thanks!