google bigquery - Failed to create view. Invalid field name -
this question has answer here:
i trying save view. several of fields of type timestamp. following error message:
failed create view. invalid field name "myfield.usec". fields must contain letters, numbers, , underscores, start letter or underscore, , @ 128 characters long.
field name valid running query browser, , name "myfield" (the ".usec" appears in error message , represents type).
when converting integer, no error. known bug? did wrong?
thanks
you need write as:
select format_utc_usec(timestamp) timestamp ...
also need de-reference nested record type fields views:
select utm.campaign utm_campaign ...
Comments
Post a Comment