GoogleCloudPlatform / google-cloud-powershell

PowerShell cmdlets for the Google Cloud Platform
http://googlecloudplatform.github.io/google-cloud-powershell/
Apache License 2.0
135 stars 61 forks source link

Add-BqTableRow should accept files stored in Cloud Storage #635

Open cah-zack-mutchler opened 4 years ago

cah-zack-mutchler commented 4 years ago

Currently, using the Add-BqTableRow cmdlet seems to only support local file paths. The expectation is that you could also use GCS locations (i.e.; gs://project/file.csv)

The current work-around is to fall back to using the "bq load" command, which supports GCS source files.

Example of cmdlet error [1] and "bq load" success [2]

image