biggie v0.1.1 Biggie

Provides a client for programmatically interfacing with BigQuery

Relevant models: https://hexdocs.pm/google_api_big_query/GoogleApi.BigQuery.V2.Api.Jobs.html#bigquery_jobs_list/3 https://hexdocs.pm/google_api_big_query/GoogleApi.BigQuery.V2.Model.Job.html#content https://hexdocs.pm/google_api_big_query/GoogleApi.BigQuery.V2.Model.JobConfiguration.html#content https://hexdocs.pm/google_api_big_query/GoogleApi.BigQuery.V2.Model.JobConfigurationQuery.html#content

Link to this section Summary

Link to this section Functions

Link to this function fetch_results(job_id, offset, limit, poll \\ 0)

Polls for query results

If the query is done, results will be returned. If the query is still running, sleeps for an interval defined in the @poll_interval module attribute and then tries again.

Link to this function run_query_job(sql, labels \\ %{}, opts \\ %{})

Runs a query job

Given an SQL query to execute and a list of options, runs a query job on BigQuery. Returns a reference to the job for accessing query results later on.

Options available here: https://hexdocs.pm/google_api_big_query/GoogleApi.BigQuery.V2.Model.JobConfigurationQuery.html#module-attributes