To update on this topic, not only the STRUCT type but also the ARRAY type is having issue with applying the MASK function. My guess is that since both STRUCT and ARRAY types are not standard types of SQL, the ALTER COLUMN to add MASK to those columns always have issues.
It always results in the following exception, even we try with just simple ARRAY<INT> type:
"If you did not qualify the name with a catalog, verify the current_schema() output, or qualify the name with the correct catalog. To tolerate the error on drop use DROP SCHEMA IF EXISTS."
Could you please take a look and see if we have any solution at all for masking those column types?
Best regards
Tien Dat PHAN