Remove-Databricks Cmdlet
Deletes Databricks data.
Syntax
Remove-Databricks [parameters]
Remarks
The Remove-Databricks cmdlet allows you to use a syntax similar to SQL DELETE statements to delete Databricks data.
$conn = Connect-Databricks -Server "127.0.0.1" -HTTPPath "MyHTTPPath"" -User "MyUser" -Token "MyToken" Remove-Databricks -Connection $conn -Table "[CData].[Sample].Customers" -Id "22"The Where parameter can also be used to specify the primary key:
Remove-Databricks -Connection $conn -Table "exTablePowershell;" -Where "_id = 22"The primary key can also be passed to the cmdlet along the pipeline:
Select-Databricks -Connection $conn -Table [CData].[Sample].Customers -Where "Country = 'US'" | Remove-Databricks