I have the following query and I would like to change the data type for the field "Reach" from string to Float.
The query that I am working on is the following:
SELECT
Account,
Campaign_name,
Date,
Impressions,
Cost__GBP_,
Link_clicks,
Ad_set_name,
Ad_name,
Reach,
Website_conversions
From 'TableA'
And I am receiving the following Issue: (google big query Could not convert the value to float. Row 8; Col 8)
I have tried to use to amend the query by doing : CAST (Reach AS Float64) As Reach , but it is not working.
Someone can help me with this?
Thank you
question from:
https://stackoverflow.com/questions/66051121/google-big-query-how-to-alter-data-type-from-string-to-float 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…