Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# Google BigQuery-直接从Google云存储上传数据_C#_.net_Google Bigquery_Google Cloud Storage - Fatal编程技术网

C# Google BigQuery-直接从Google云存储上传数据

C# Google BigQuery-直接从Google云存储上传数据,c#,.net,google-bigquery,google-cloud-storage,C#,.net,Google Bigquery,Google Cloud Storage,有没有办法从谷歌云存储上传数据到谷歌BigQuery,而不通过.NET代码下载?就像可以在UI上完成一样 以下是文档中的示例: 这边走 public void ImportDataFromCloudStorage(BigQueryClient client, string uri, TableReference reference, WriteDisposition disposition = WriteDisposition.WriteIfEmpty) { BigQuer

有没有办法从谷歌云存储上传数据到谷歌BigQuery,而不通过.NET代码下载?就像可以在UI上完成一样

以下是文档中的示例:

这边走

public void ImportDataFromCloudStorage(BigQueryClient client, string uri, TableReference reference, WriteDisposition disposition = WriteDisposition.WriteIfEmpty)
    {
      BigQueryJob job = client.CreateLoadJob(uri, reference, null, new CreateLoadJobOptions()
      {
        FieldDelimiter = ";",
        SkipLeadingRows = 1,
        AllowQuotedNewlines = true,
        WriteDisposition = disposition
      });

      job.PollUntilCompleted();
    }
public void ImportDataFromCloudStorage(BigQueryClient client, string uri, TableReference reference, WriteDisposition disposition = WriteDisposition.WriteIfEmpty)
    {
      BigQueryJob job = client.CreateLoadJob(uri, reference, null, new CreateLoadJobOptions()
      {
        FieldDelimiter = ";",
        SkipLeadingRows = 1,
        AllowQuotedNewlines = true,
        WriteDisposition = disposition
      });

      job.PollUntilCompleted();
    }