DetectView Parameter (Connect-Databricks Cmdlet)
Specifies whether the provider uses the DESCRIBE FORMATTED command to determine whether an object in Databricks is a table or a view.
Syntax
Connect-Databricks -DetectView bool
Data Type
bool
Default Value
true
Remarks
When this property is set to true, the cmdlet issues a DESCRIBE FORMATTED command to retrieve detailed metadata and identify whether a specified object in Databricks is a table or a view.
When this property is set to false, the cmdlet skips this additional check, which can improve performance but may prevent accurate detection of views.
This property is useful when working with mixed environments that contain both tables and views, ensuring that object types are correctly identified during metadata discovery.