I have a Snowflake table which is couple of TBs of size. I am at a point to decide whether to have a field inside a variant column or to have it as a standalone column. The data type of the field is a simple string.
I was evaluating and comparing the performance by querying this field (in the where clause) from within variant column against querying directly as a separate column. The statistics show that querying from within variant is 40%-60% slower than querying it from a regular column.
Could not find anything in Snowflake docs that say querying variants for varchar is slower. Any thoughts on this is much appreciated. I will need to make some important decision based on this and educate the end users of the table
Thanks in advance