google-cloud-php-bigquery | Idiomatic PHP client for Google BigQuery | GCP library
kandi X-RAY | google-cloud-php-bigquery Summary
kandi X-RAY | google-cloud-php-bigquery Summary
Idiomatic PHP client for Google BigQuery. NOTE: This repository is part of Google Cloud PHP. Any support requests, bug reports, or development contributions should be directed to that project. Allows you to create, manage, share and query data.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Converts a value into a BigQuery object .
- Handles INSERT .
- Get all rows .
- Update a resource .
- Resolve the upload options .
- Creates a new Dataset .
- Creates a table .
- Wait for a job to complete .
- Set query parameters .
- Set the job configuration properties .
google-cloud-php-bigquery Key Features
google-cloud-php-bigquery Examples and Code Snippets
require 'vendor/autoload.php';
use Google\Cloud\BigQuery\BigQueryClient;
$bigQuery = new BigQueryClient();
// Get an instance of a previously created table.
$dataset = $bigQuery->dataset('my_dataset');
$table = $dataset->table('my_table');
Community Discussions
Trending Discussions on google-cloud-php-bigquery
QUESTION
I'm trying to export directly the results of a BigQuery Query directly to GCS to avoid storing the query result on my Apache Server and then sending it to GCS (which doesn't work with big files).
Is there a way to configure the QueryJob to send the data directly to a GCS bucket ?
Using the PHP API for Google Cloud https://github.com/googleapis/google-cloud-php-bigquery
...ANSWER
Answered 2020-Jul-16 at 13:49You can do this by combining a Query and Extract job:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install google-cloud-php-bigquery
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page