google bigquery - Failed to create view. Invalid field name -


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

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -