GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bigquery: retain data types when querying by stephenplusplus · Pull Request #991 · googleapis/google-cloud-node

Conversation

@stephenplusplus

@stephenplusplus stephenplusplus commented Dec 4, 2015

Copy link
Copy Markdown
Contributor

Fixes #990

⚠️ Includes Breaking Change!

This is probably something we should have designed originally, so thanks to @debopamsengupta for catching this!

When a query is made against a BigQuery table, the raw API response includes a puzzle that we put together before handing to the user. Specifically, the schema is "over here" and each matched result from the query is "over there". We previously just cared about the name property from the schema over here, and matched it with the correct value over there. Turns out the schema also can tell us the type to convert the value to. Insert this PR.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@stephenplusplus stephenplusplus added enhancement api: bigquery Issues related to the BigQuery API. labels Dec 4, 2015
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 4, 2015
@stephenplusplus
bigquery: retain data types when querying
c7b49cb
@stephenplusplus
stephenplusplus force-pushed the spp--bigquery-apply-table-schema branch from 4a45936 to c7b49cb Compare December 4, 2015 19:59
callmehiphop added a commit that referenced this pull request Dec 4, 2015
@callmehiphop
Merge pull request #991 from stephenplusplus/spp--bigquery-apply-tabl…
647a9c1
…e-schema

bigquery: retain data types when querying
@callmehiphop
callmehiphop merged commit 647a9c1 into googleapis:master Dec 4, 2015
sofisl pushed a commit that referenced this pull request Feb 3, 2026
@steffnay
feat: add support for loading Firestore export file (#991)
c1cd711
sofisl pushed a commit that referenced this pull request Feb 3, 2026
@release-please
chore: release 5.8.0 (#994)
f0ba495
🤖 I have created a release \*beep\* \*boop\*
---
## [5.8.0](https://www.github.com/googleapis/nodejs-bigquery/compare/v5.7.1...v5.8.0) (2021-08-23)


### Features

* add support for loading Firestore export file ([#991](https://www.github.com/googleapis/nodejs-bigquery/issues/991)) ([c17a44e](https://www.github.com/googleapis/nodejs-bigquery/commit/c17a44ec97af6acff24a712a519355a0957999a3))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
GautamSharda pushed a commit that referenced this pull request Mar 11, 2026
@alexander-fenster
fix: regen protos and tests, formatting (#991)
c39d969
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: bigquery Issues related to the BigQuery API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@stephenplusplus @callmehiphop @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.