Warm tip: This article is reproduced from stackoverflow.com, please click
google-bigquery google-cloud-platform graphql node.js

BigQuery with GraphQL

发布于 2020-03-30 21:12:02

Is it possible to use GraphQL for doing BigQuery Queries? I haven't found a way to do it. I don't know if it would be the correct approach to use GraphQL to query against BigQuery. I'm using Node.js and have a working example with MySQL and Sequelize

What are your recommendations?

Luis Antonio Gutierrez Flores
guillaume blaquiere 2020-02-01 05:58

BigQuery is an SQL oriented data-warehouse. Here the key word is data-warehouse, because it's not a database like MySQL: Latency and atomic transaction aren't handled by BigQuery. However it's a powerful tool for analytics and processing TB of data.

I never saw GraphQL implementation for analytics, it was always for real time querying. Sadly, the latency of BigQuery is high (about 1 to 2s before the query start) and thus it's not suitable for real time/website and low latency response time.

That's why, I can't recommend you to use BigQuery with GraphQL.