mozilla / leanplum-data-export

A docker image that runs a script to export Leanplum data into BigQuery
5 stars 4 forks source link

Set schemas for csv external tabless #15

Closed BenWu closed 4 years ago

BenWu commented 4 years ago

Currently the schemas of the external tables are autodetected from the csv. This is causing tasks to fail if the autodetected type does not match the target type. For example, app version should be a string because of values like 60.0.1 but if for a particular date, all values are coercible to a float, e.g. 60.0, then the detected type will be a float.

Setting the schema will allow values like 60.0 to be treated as a string.