BigQuery query returns empty strings

:bullseye: What is your goal?

We have a BigQuery module that runs a SELECT * query on a certain table with some basic WHERE clause
It is able to find the right amount of rows but some columns return an empty value despite having a value in BigQuery itself - specifically the value_potential_tier and score columns
both have a STRING value

:thinking: What is the problem & what have you tried?

Some columns are returned empty. We’ve validated that they have actual values in the table.

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

This usually comes from the module’s output structure rather than the query itself. Make works out the columns from the first runs of the module, so with SELECT * it can miss or mis-map columns that were added to the table later, or that came back null in the early test rows.

A quick way to tell which side the problem is on:

  1. Right-click the BigQuery module, choose Run this module only, and open the output bundle. If value_potential_tier and score have values there, the query is fine and it is the mapping in the next modules that is stale. Re-select those fields in the later modules (or delete and re-add the mapping) so they point at the new structure.
  2. If they are empty even in the raw bundle, replace SELECT * with an explicit column list and give the two columns simple aliases, for example CAST(value_potential_tier AS STRING) AS tier, CAST(score AS STRING) AS score_text. Explicit names and aliases make Make rebuild the structure, and the CAST rules out a type the module doesn’t read well.
  3. Also worth a look: run the exact same query, with the same WHERE values, in the BigQuery console. If those columns are null for the rows that match, the module is reporting correctly and the filter is picking different rows than you expect.