0

I have a query written in legacy SQL mode which I want to rewrite into StandardSQL. It has a few inner joins, and standardSQL has a few places where I have to unnest data using UNNEST functions (arrays of product IDs inside a row of transactionID).

However, after rewriting and comparing outputs I noticed that the one in standardSQL has slightly fewer rows (194310 vs 193907).

Is there any general reason why this happens, and how to avoid it?

Azamat
  • 25
  • 7

0 Answers0