Cmdlets for Google Data Catalog

Build 21.0.7930

Invoke-GoogleDataCatalog Cmdlet

Parameters   Output Objects  

Searches and updates Google Data Catalog data.

Syntax

Invoke-GoogleDataCatalog [parameters]

Remarks

The Invoke-GoogleDataCatalog cmdlet allows you to use SQL statements to execute any SQL statement directly. Below is the syntax for a parameterized query:

$query = Invoke-GoogleDataCatalog -Connection $connection -Query 'SELECT * FROM Schemas WHERE ProjectId=@ProjectId' -Params @{'@ProjectId'='bigquery-public-data'}
This cmdlet is also useful for executing stored procedures. Use the EXEC keyword to call a stored procedure:
$query = Invoke-GoogleDataCatalog -Connection $connection -Query 'EXEC SampleProcedure Id = @Id' -Params @{"7"}

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930