Git Product home page Git Product logo

bigquery's People

Contributors

abronte avatar andresbravog avatar blak3mill3r avatar clairemcginty avatar derencius avatar digitalronin avatar dtaniwaki avatar goose42 avatar hakobera avatar kkosuge avatar kysnm avatar lucasalves avatar nateberkopec avatar prair-ppl avatar sonots avatar tanukiti1987 avatar trinityxmontoya avatar troynt avatar yukiyan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bigquery's Issues

unknown keyword: interval

There is a bug with the current version (0.7.1) of the google api gem where you get a "unknown keyword: interval". This is due to a change in the retriable gem.

This is fixed in master of the google api gem but it hasn't been released as a gem yet.

A workaround to this is to uninstall retriable and reinstall with version ~> 1.4.1.

NameError: uninitialized constant BigQuery

I followed the readme, but I get the following error:

irb(main):009:0> bq = BigQuery::Client.new(opts)
NameError: uninitialized constant BigQuery
    from (irb):9
    from /home/lsoave/.rbenv/versions/2.1.2/bin/irb:11:in `'
irb(main):010:0> 

My env:

lsoave@basenode:~/Github/gitwatcher$ egrep -i "bigquery|google" Gemfile.lock
    bigquery (0.2.9)
      google-api-client (>= 0.4.6)
    google-api-client (0.7.1)
  bigquery

Insert Ruby Timestamp Example

I am trying to use the insert data example, except I am trying to load into a timestamp field. This doesn't seem to be working for me. I have tried both entering as UNIX timestamps, and also in the format YYYY-MM-DD HH:MM:SS.

basic example fails with "Required parameter is missing: grant_type"

the very first example code in the readme fails for me with:

/home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/signet-    0.6.0/lib/signet/oauth_2/client.rb:947:in `fetch_access_token': Authorization failed.  Server message:     (Signet::AuthorizationError)
{
  "error" : "invalid_request",
  "error_description" : "Required parameter is missing: grant_type"
}
    from /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/signet-0.6.0/lib/signet/oauth_2/client.rb:964:in `fetch_access_token!'
    from /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/bigquery-0.7.0/lib/big_query/client.rb:42:in `refresh_auth'
    from /home/aep/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/bigquery-0.7.0/lib/big_query/client.rb:33:in `initialize'
    from main.rb:13:in `new'
    from main.rb:13:in `<main>'

.

.

Invalid dataset ID "githubarchive:day"

To connect to the datasets from githubarchive.org, what do I set
opts['dataset'] to?

I've tried opts['dataset'] = 'githubarchive:day' and opts['dataset'] = 'githubarchive:day.events_20150729'

but they both return saying invalid dataset. Do I have to add these datasets to my project somehow?

Record VCR

Hey guys,

I'm having problem to record bigquery's response on the VCR. The problem using the BigQuery gem is in the response body the attribute string is empty and MultiJson can not parse it

MultiJson::ParseError:
  JSON::ParserError

response:

...
"body":{  
  "encoding":"UTF-8",
  "string":""
},
...

Testing others gem options to bigquery(gcloud), I could record the VCR but I can't read it, I had it:

Zlib::GzipFile::Error:
  not in gzip format

The curious fact is:
1 - I recorded the VCR using the gcloud gem
2 - I switch to use the bigquery gem, and the bigquery gem can read the VCR recorded by gcloud

It is not a great flow to work : ) because of that I'm here to try some help.

Environment:
Ruby 2.1.5p273
Bigquery: 0.9.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.