Skip to content

Commit

Permalink
bigquery - wait for session init job
Browse files Browse the repository at this point in the history
  • Loading branch information
Halama authored Nov 6, 2023
1 parent ccf0962 commit 1c309a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function __construct(BigQueryClient $bqClient)

public function createSession(): Session
{
return Session::createFromJob($this->bqClient->startJob(
return Session::createFromJob($this->bqClient->runJob(
$this->bqClient->query(
'SELECT 1',
[
Expand Down

0 comments on commit 1c309a7

Please sign in to comment.