Bigquery: fail to change filed name -



Bigquery: fail to change filed name -

we changing filed naming convention uppercamelcase. realized if it's single-word name, bq ignore case changes. example, when ran next query, field names changed expected, except 'speed', 'ignition','latitude' , 'longitude' remained in lower case.... wonder if it's bug or special consideration? gave huge issue when migrating our big info in thousands of tables new naming convention

select file_date_time filelastmodifiedtime ,driver_id driverid ,date_time datetime ,latitude latitude ,longitude longitude ,gps_valid gpsvalid ,ignition ignition ,speed speed ,gps_reason gpsreason ,zip_code zipcode mytable

this bug. field names in bigquery case-insensitive , should able alter case of field using aliases. i've filed bug internally.

a workaround no-op typecast, cause apply alias exact casing. example, if speed int: select ... integer(speed) speed, ...

google-bigquery

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -