
Explanation:
To search the Microsoft Purview Data Catalog for assets where the assetType property is either 'Table' or 'View', we need to use the correct search syntax supported by Purview's unified catalog.
Option B (assetType:Table OR assetType:view) is the correct choice because:
fieldName:valueOR operator is properly used to combine multiple field searches for the same propertyassetType:Table OR assetType:view correctly searches for assets where assetType equals 'Table' OR assetType equals 'View'Option A (assetType IN ('Table', 'View')) - This uses SQL-like IN syntax which is not supported in Purview catalog searches. Purview uses a different query language for catalog searches.
Option C (assetType = (Table OR View)) - This mixes SQL equality syntax with logical operators in an unsupported format. The parentheses grouping is not valid in Purview search syntax.
Option D (assetType:(Table OR View)) - While this might seem intuitive, grouping with parentheses within a field search is explicitly not supported in Purview. The documentation specifies that grouping isn't supported within field searches.
When searching Microsoft Purview Data Catalog:
fieldName:value syntax for property searchesAND, OR, NOT) to combine multiple conditionsUltimate access to all questions.
You have an Azure subscription containing a Microsoft Purview account.
You need to search the Microsoft Purview Data Catalog to find assets where the assetType property is either 'Table' or 'View'.
Which query should you use?
A
assetType IN ('Table', 'View')
B
assetType:Table OR assetType:view
C
assetType = (Table OR View)
D
assetType:(Table OR View)
No comments yet.