Skip to content
This repository was archived by the owner on Jun 12, 2019. It is now read-only.
This repository was archived by the owner on Jun 12, 2019. It is now read-only.

Record VCR #46

@thadeubrito

Description

@thadeubrito

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions