Skip to content
/ bigq Public

Library for making requests to BigQuery

Notifications You must be signed in to change notification settings

kasta-ua/bigq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bigq

bigq is a simplest possible library for making requests to BigQuery.

Clojars Project

There is no Java client code inside, just calls to BigQuery's HTTP API. You give it credentials and a query, it authorizes itself and then executes a query and waits for it to end:

(require '[bigq.core :as bigq])
(bigq/query "path/to/auth.json" {:query "select count(*) from my.table"})

To configure query see Google's docs.

That's all! It's not possible to pass access token from outside, it's not handling access token expiration (it just generates new one every time) - we're using this library for scripts running from cron.

About

Library for making requests to BigQuery

Resources

Stars

Watchers

Forks

Packages

No packages published