Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

SQL Error - No matching signature

Hi

In SQL BigQuery I get the following error for the SQL statement below

No matching signature for operator >= for argument types: ARRAY<INT64>, INT64. Supported signature: ANY >= ANY at [1:18] 

SELECT CASE WHEN [year] >= 2020 then week_no - 1 else week_no = week_no end as test ,
* FROM `emea-sales-gbl-emea-pd.sellout_bqdset_eu_pd.DIM_Calendar`

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial