I have a table in BigQuery with a JSON column, see below. doc_id data 222 {...} 333 ...
I have a table in BigQuery with a JSON column, see below. doc_id data 222 {...} 333 ...
I have somewhat below folder structure: & my main.tf in bigquery_tables is: The issue I am facing is since things are in development stage w ...
I'm noticing a discrepancy between a javascript function run in Node and a javascript function in a UDF in BigQuery. I am running the following in Bi ...
Request help with creating user defined function for the Javascript code below. Here is what I tried below and it gives me a SyntaxError: Unexpected ...
I added a column into my excel sheet, and when loaded in BigQuery, the newly added column is not showing. Please help. I have tried reading LOL ...
is it possible to use a function property in a select statement? I have a forex function in BigQuery like this, but it'd be SO much easier if we can ...
Given a column of integers ids AS ( SELECT id FROM UNNEST([1, 2, 3, 4, 5, 6, 7]) AS id) I'd like to convert them into the following (ba ...
I have a table with a ranking keywords and join another table where the keyword exists but when I apply an outer join, it only returns the inner join ...
i am trying to make a table where the running total have a condition whenever the value went below 0 it will use the value of other columns (avg_price ...
I am using CTE query and I am coming up with many queries that do essentially the same function but only the column names are different. This is a sim ...
I have data in below format. I need to run a rule as below - If column A contains value 15, it should be flagged as Valid, else it should be flagged a ...
Hey all, I have a table that looks like this: row key val 1 a 100 2 ...
Pivoting like this works However it seems that PIVOT .. FOR i IN does not accept UNNEST (Syntax error: Unexpected ")" at) ...
got below error while trying to create temporary table in Bigquery . create or replace temporary table mss.Business.test2 as select * from mss.Busine ...
I'm trying to build a BigQuery UDF that returns the latest partition DATE for a partitioned table, given the dataset name and table name as parameters ...
I'm trying to use the BigQuery REST API to execute some queries, but, for some reason, I can't use SQL functions. The endpoint I've been using is the ...
I was planning to create a bigquery javascript udf to parse json (as json functions are still in preview phase). Now, if I write a function, then a re ...
I'm trying to return a MAP like structure from Javascript UDF in bigquery. So that I can convert that structure directly into relational columns witho ...
I have 2 source tables at the moment. Table #1: sourceTableMain Table #2: sourceTableEmployee I am trying to insert the combine the rows into a ...
I've not been able to reach a high number of instances with BigQuery remote functions & first gen cloud function (link). As such, I've deployed a ...