Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
ghx-label-9
Description
We determine whether a SlotDescriptor created from a star expanded path should be registered for column masking based on the path of the star item:
Empty matched types means this is expanded from star of a catalog table.
For star of complex types, e.g. my_struct., my_array., my_map.*, the matched
types will have the complex type so it's not empty.
However, this comment may be wrong because in the query
select a.* from mix_struct_array t, t.struct_in_arr a;
getMatchedTypes() returns an empty list for the star path even though it is not from a catalog table.
We should also find out whether we can determine from the expanded path alone (and not the path of the star item) whether we need to register it for column masking, for example by checking if it is within a complex type.